Hi,
My main CmakeList.txt file look like this:
cmake_minimum_required (VERSION 2.6)
project (vos)
add_subdirectory (system BUILD)
add_subdirectory (osal BUILD)
add_subdirectory (logger BUILD)
add_subdirectory (loggerConfigTool BUILD)
add_subdirectory (voltSyslogd BUILD)
add_subdirectory (chassis BUILD)
add_subdirectory (eventHandler BUILD)
in the system subdirectory the CmakeList.txt file look like this:
set(main_SRCS main.cpp)
include_directories(${vos_SOURCE_DIR}/include)
link_directories(${vos_SOURCE_DIR}/BUILD)
add_executable(vos ${main_SRCS})
target_link_libraries(vos rt pthread logger osal)
install(TARGETS vos RUNTIME DESTINATION /bin )
After running cmake the make install command builds the vos executable
but does not install it.
I looked in install_manifest.txt and it was empty.
Any ideas what I'm doing wrong?
Thanks.
Sharon.
_______________________________________________
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