Re: [CMake] LOCATION target property, generator expressions

2018-09-26 Thread Hendrik Greving
Is there any way before 3.13 to achieve what I need? Right now we modify LINK_FLAGS based on something that is computed with values from LOCATION. For CMP0026, I'd like to get rid of LOCATION. As pointed out earlier, unclear how this would work e.g. by using file(GENERATE.. in this case. Thanks in

Re: [CMake] Moving static library to separate project

2018-09-26 Thread Andreas Naumann
Dear Chris, you have several ways to cope with that. First, you should write a MyLogConfig.cmake-File [2], which imports your static library as import library [1] and sets the include path. The same file also defines the dependency on pthread via target_link_library. Your project with the execu