[CMake] [ANNOUNCE] CMake 3.10.0-rc1 is now ready for testing

2017-10-05 Thread Robert Maynard
I am proud to announce the first CMake 3.10 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.10 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.10/release/3.10.html Some of the more significan

Re: [CMake] Generate headers and inherit include_directories

2017-10-05 Thread Michael Ellery
> On Oct 5, 2017, at 3:50 AM, Nagy-Egri Máté Ferenc wrote: > > Hi Michael! > > This is what I wanted to do (only relevant parts showing): > > /// top-level CMakeLists.txt > add_subdirectory(Gripper) > add_subdirectory(examples) > > > /// Gripper/CmakeLists.txt > set(RESULT ${CMAKE_CURRENT_BI

Re: [CMake] cmake buried in subdirectory?

2017-10-05 Thread Michael Jackson
You are over thinking it. As someone else stated, check if the build directory and the source directory are the same and if they are you FATAL_ERROR with a message. Otherwise you can put a single CMakeLists.txt file in the top level to kick things off. Plus, I think it is starting to become fai

[CMake] CPack DebugInfo RPM depend on runtime RPM

2017-10-05 Thread philip.clapham
Hi, I'm successfully using Cmake version 3.9.1 (on CentOS 6.9) to build a C++ project, and then using CPack (from CMake) to build two RPMs, a RUNTIME and a DEVEL. I have set the DEVEL to depend upon the RUNTIME using: SET(CPACK_RPM_DEVEL_PACKAGE_REQUIRES "${PROJECT_NAME} == ${FULL_VERSION}-${R

[CMake] CMAKE_RULE_LAUNCH_LINK separate link binary and archive

2017-10-05 Thread xavier lacoste
Hello, I would like to use CMAKE_RULE_LAUNCH_LINK/CMAKE_RULE_LAUNCH_COMPILE for using score-p. scorep should be added in compile and link line before compiler (eg. scorep gcc). Thus I setted CMAKE_RULE_LAUNCH_COMPILE to scorep and same for CMAKE_RULE_LAUNCH_LINK. (set_property(GLOBAL PROPERTY RUL

Re: [CMake] Generate headers and inherit include_directories

2017-10-05 Thread Nagy-Egri Máté Ferenc via CMake
Hi Michael! This is what I wanted to do (only relevant parts showing): /// top-level CMakeLists.txt add_subdirectory(Gripper) add_subdirectory(examples) /// Gripper/CmakeLists.txt set(RESULT ${CMAKE_CURRENT_BINARY_DIR}/inc/Gripper/stl/stlYlms_dynamic.hpp) add_custom_command(COMMAND ... ARGS ...