Hello I have an object file which I'd like to link in during compilation of my executable. I've tried adding it to each of the commands below with no success for any:
add_executable(.... foo.o) set(CMAKE_CXX_FLAGS "....... foo.o") target_link_libraries(.... foo.o) Is there a way to do this? Ted
_______________________________________________ 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