Re: [CMake] cmake / xcode / c++ header files [solved]

2011-11-22 Thread g...@novadsp.com
excellent suggestion, i will try it out. thank! On 22/11/2011 14:29, Michael Jackson wrote: I have my own macro that I use for this: MACRO (cmp_IDE_SOURCE_PROPERTIES SOURCE_PATH HEADERS SOURCES INSTALL_FILES) if (${INSTALL_FILES} EQUAL "1") INSTALL (FILES ${HEADERS}

Re: [CMake] cmake / xcode / c++ header files

2011-11-22 Thread Michael Jackson
I have my own macro that I use for this: MACRO (cmp_IDE_SOURCE_PROPERTIES SOURCE_PATH HEADERS SOURCES INSTALL_FILES) if (${INSTALL_FILES} EQUAL "1") INSTALL (FILES ${HEADERS} DESTINATION include/${SOURCE_PATH} COMPONENT Headers )

[CMake] cmake / xcode / c++ header files

2011-11-22 Thread g...@novadsp.com
How can I get the cmake xcode generator to add a /include folder to generated projects? The cmakelists contain these directives: SET(${this_target}_HEADER_FILES ./a.h ./b.h) SET_SOURCE_FILES_PROPERTIES(${this_target}_HEADER_FILES PROPERTIES HEADER_FILE_ONLY TRUE) LIST(APPEND ${this_target}_SOU