[CMake] getting a build parameter from a file

2015-06-08 Thread Dave Yost
First, my cmake code does this: sets ${metals} from a cmake command-line argument compares the contents of ${metals} against the contents of a file to note whether the variable is being changed since the last run of cmake writes the new value to that file for next time call an add_timestamp_file

[CMake] install_manifest.txt

2015-06-08 Thread Austin Wood
Hi, The install_manifest.txt includes all the files installed by the entire project. Is it possible to get this list per subproject, ie per CMakeLists.txt? Thanks! -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitw

[CMake] cmake automoc fails when enabling autorcc

2015-06-08 Thread Hendrik Sattler
Hi, can someone explain to me what goes wrong? I am using Visual Studio 2010. CMake is 3.2.2 but also I tried 3.3-rc1. I created a small example that shows the problem. I created it from scratch and it instantly fails for me. You need to create a foo.png to get the qrc to actually create the sou

Re: [CMake] install(TARGETS) does not work with configuration-specific destinations

2015-06-08 Thread Alessio
I forgot to mention that, by contrast, elsewhere I have the following working code. So install(FILES) seems to work fine with multiple calls for different configurations. install( FILES "$/some_file.txt" COMPONENT platform DESTINATION "${${PROJECT_NAME}_INSTALL_RUNTIME_RELEASE}" CO

[CMake] install(TARGETS) does not work with configuration-specific destinations

2015-06-08 Thread Alessio
Hi The below CMake code is causing my targets to get installed twice in the same tarball when I invoke cpack with the following command line "${CPACK_COMMAND}" -G ${cpack_gen} --config "${CMAKE_CURRENT_BINARY_DIR}/${package_cfg_file}" -C "$" The generated cmake_install.cmake in fact contains

Re: [CMake] [ANNOUNCE] CMake 3.3.0-rc1 is now ready!

2015-06-08 Thread Michael Jackson
We are very interested in using the "include-what-you-use" functionality. Is there a wiki page or something that can help us get all the dependencies setup, compiled and working. Thanks Mike Jackson -Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Mayn