Hi, I am trying to build a library with cmake using QT4 tools (moc, wrap) using a master cmake script and lib/project related subscript. The thing is that I have a build error then the one of the library (the one that uses QT4) tries to link. Here's the log:
Linking CXX static library /Users/fcmorency/Documents/foo/lib/libPETHardwareHandlers.a Error processing file:CMakeFiles/PETHardwareHandlers.dir/cmake_clean_target.cmake Error opening link script "CMakeFiles/PETHardwareHandlers.dir/link.txt" make[2]: *** [/Users/fcmorency/Documents/foo/lib/libPETHardwareHandlers.a] Error 1 make[1]: *** [Librairies/Branches/Lib_cmake/PETHardwareHandlers/CMakeFiles/PETHardwareHandlers.dir/all] Error 2 make: *** [all] Error 2 Also, If I place myself in the "Librairies/Branches/Lib_cmake/PETHardwareHandlers/" directory and run the linking command myself, which would be "cmake -E cmake_link_script CMakeFiles/PETHardwareHandlers.dir/link.txt", it does link well and build the lib. Any hints ? Regards, Félix C. Morency
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake