Re: [CMake] How does reload cache work of CMake GUI?

2015-09-20 Thread Wojtek Mamrak
Looks like deleting both CMakeFiles\generate.stamp and CMakeFiles\generate.stamp.depend does the job, yet it is not the CMake Gui way. Is there any more convenient approach? 2015-09-20 20:10 GMT+02:00 Wojtek Mamrak : > Hello, > > what is the semantics of CMake Gui's reload cache?

[CMake] How does reload cache work of CMake GUI?

2015-09-20 Thread Wojtek Mamrak
Hello, what is the semantics of CMake Gui's reload cache? Is it possible to achieve the same from the command line? regards -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support t

Re: [CMake] Linking with an external project also built with CMake

2015-09-18 Thread Wojtek Mamrak
Or you can export ExternalLib directly from the build tree. export(TARGETS ExternalLib FILE "${PROJECT_BINARY_DIR}/ExternalLibTargets.cmake") configure_file("${PROJECT_SOURCE_DIR}/ExternalLibConfig.cmake" "${PROJECT_BINARY_DIR}/ExternalLibConfig.cmake") export(PACKAGE ExternalLib) with External

Re: [CMake] install EXPORT uses absolute paths on Windows, making libraries not relocatable

2015-09-12 Thread Wojtek Mamrak
I must have missed that, thanks! 2015-09-12 15:30 GMT+02:00 Nils Gladitz : > On 12.09.2015 15:04, Wojciech Mamrak wrote: >> >> install(TARGETS foo >> EXPORT FooTargets >> ARCHIVE DESTINATION "${INSTALL_LIBDIR}") > > > Your target's install DESTINATION is absolute which is why the