Re: [CMake] Imported libraries and cyclic dependencies

2016-01-07 Thread Rainer Poisel
Hello, I am using CMake 3.4.1. Best regards, Rainer On Fri, Jan 8, 2016 at 2:18 AM, iosif neitzke wrote: > Which version of CMake are you using? > > > On 01/07/2016 04:28 PM, Rainer Poisel wrote: >> >> Hi, >> >> I am having troubles with linking a bunch of imported libraries that >> have cyc

Re: [CMake] Imported libraries and cyclic dependencies

2016-01-07 Thread iosif neitzke
Which version of CMake are you using? On 01/07/2016 04:28 PM, Rainer Poisel wrote: Hi, I am having troubles with linking a bunch of imported libraries that have cyclic dependencies. This is what I am doing: 8<=== find_library(ESP8266_SDK_LIB_MAIN main ${ESP8266_SDK_BASE}/l

[CMake] Imported libraries and cyclic dependencies

2016-01-07 Thread Rainer Poisel
Hi, I am having troubles with linking a bunch of imported libraries that have cyclic dependencies. This is what I am doing: 8<=== find_library(ESP8266_SDK_LIB_MAIN main ${ESP8266_SDK_BASE}/lib) add_library(esp8266_main UNKNOWN IMPORTED) set_property(TARGET esp8266_main PROPER

Re: [CMake] Creating relocatable export files

2016-01-07 Thread Alexander Neundorf
On Saturday, November 14, 2015 12:19:11 Nicholas Braden wrote: > Instead of using FOO_INCLUDE_DIR, I believe you should use > target_include_directories() with the INTERFACE or PUBLIC options - > this will export the include directories properly and they will be > used when someone target_link_libr

Re: [CMake] 3.4.1 installer overwrites Windows PATH system var

2016-01-07 Thread Brad King
On 12/07/2015 09:06 AM, Brad King wrote: > Yes. We will look at addressing this for the 3.5 release now that we > understand the cause. We've switched to using the WiX generator to produce a .msi installer instead: Utilities/Release: Switch to .msi builder for Windows binary https://cmake.org/

Re: [CMake] adding parts of build log to dashboard.

2016-01-07 Thread Attila Krasznahorkay
Hi Rashad, It may not be the perfect way of doing it, but I attach build log files as "notes". With something like: set( CTEST_NOTES_FILES ${CTEST_BINARY_DIRECTORY}/BuildLogs/log1.log ... ) ctest_submit( PARTS Build Notes ) (I actually do something rather more complicated. I split the build int

Re: [CMake] get_prerequisites() - fails with No such file or directory

2016-01-07 Thread rozelak
Sorry po re-posting, the formatting in the previous message was badly corupted ... :-(   __ Původní zpráva: Od: Komu: Datum: 07.01.2016 10:25 Předmět: Re: [CMake]get_prerequisites() - fails with No such file or directory When get_prerequisites() i

Re: [CMake] get_prerequisites() - fails with No such file or directory

2016-01-07 Thread rozelak
When get_prerequisites() is not called, the build works correctly. So, did I do anything wrong? get_prerequisites needs to be called at install time and not CMake time. Look at install(CODE "") -Bill   Hello Bill,thank you for your answer. I guessed that this is the problem, but I didn't know