[CMake] installing without building the whole project

Dominik Szczerba dominik at itis.ethz.ch
Thu Jun 9 09:34:15 EDT 2011


Hi,

I have a big project with several subfolders. In one subfolder's cmake
file I have e.g.

INSTALL(TARGETS test DESTINATION ${CMAKE_INSTALL_PREFIX} CONFIGURATIONS RELEASE)

Now when I call "make install" on linux or build "INSTALL" project in
MSVC the whole project is built prior to installation of "test". How
would I force to only build "test" in this case?

Many thanks for any hints,
Dominik


More information about the CMake mailing list