2009/3/10 Sharon Melamed <shar...@voltaire.com> > 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. > It woking now for me..
Check your CMAKE_INSTALL_PREFIX path whatever u have set. By default on linux it is set to /usr/local but if u want it to something else you can set it in CMakeCache.txt file. Hope it will work .. Ankit > > _______________________________________________ > 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 >
_______________________________________________ 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