[CMake] install question

ankit jain ankitguddu at gmail.com
Tue Mar 10 03:23:56 EDT 2009


---------- Forwarded message ----------
From: ankit jain <ankitguddu at gmail.com>
Date: 2009/3/10
Subject: Re: [CMake] install question
To: Sharon Melamed <sharonm at voltaire.com>



2009/3/10 Sharon Melamed <sharonm at 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.
> Hi,


I too facing the same problem. i too dont find those executables in the
destination folder specified. i dotn understand why they are not installing.

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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090310/48d2a0a2/attachment.htm>


More information about the CMake mailing list