Simply, in a subdirectory: ADD_LIBRARY (sift_h common.hxx) and altho the file "common.hpp" is there, he returns 'Cmake cannot find source file ".../.../common.hxx" for target "sift_h" tried extensions ... .hpp ...'
if i change the CMakeLists in that subdirectory to ADD_LIBRARY (sift_h common.hpp) he doesn't complain at first, but when "Ok" is clicked 'Cmake can not determine linker language for target:sift_h' .. wth? the CMakeLists in ROOT is PROJECT (SIFT) ADD_SUBDIRECTORY (includes) ADD_EXECUTABLE (siftpp main.cpp) TARGET_LINK_LIBRARIES (siftpp sift_h) -- Dario Figueira
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
