2012/5/25 David Nadlinger <[email protected]>: > In our project, we are explicitly adding all the header files along with the > source files to the respective build targets in order for them to show up in > CMake-generated Visual C++ projects. > > Up to and including 2.8.7, this worked well as the Makefile generator simply > ignored the header files, but starting with 2.8.8, this no longer seems to > be the case.
Which means? Generated makefile tries to compile the header? On which platform do you get that buggy behavior? Could you give us a strip down example of the problem may be with one header and one C/C++ file? I do include header in add_executable and add_library without trouble.. > Is this a (known?) bug, or a deliberate change in behavior? If the latter is > the case, what is the suggested way to include header files with the > generated workspaces? -- Erk Le gouvernement représentatif n'est pas la démocratie -- http://www.le-message.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
