[CMake] CMAKE_CXX_COMPILE_OBJECT not set with ADD_SUBDIRECTORY

2015-09-11 Thread Emmanuel HOUITTE
I'm working with cmake version 2.8.12.2 on CentOS6. I've got a very simple project with one subdirectory. Each directory has a CMakeLists.txt file. The ADD_SUBDIRECTORY seems to remove the default generated CMAKE rule variables in the generation step. Is it normal? How to get an example without

Re: [CMake] CMAKE_CXX_COMPILE_OBJECT not set with ADD_SUBDIRECTORY

2015-09-11 Thread CHEVRIER, Marc
e.org<mailto:cmake@cmake.org>" Subject: [CMake] CMAKE_CXX_COMPILE_OBJECT not set with ADD_SUBDIRECTORY I’m working with cmake version 2.8.12.2 on CentOS6. I’ve got a very simple project with one subdirectory. Each directory has a CMakeLists.txt file. The ADD_SUBDIRECTORY seems to re