No subject
Tue Jan 15 14:41:49 EST 2013
package even if
some target may fail then you could simply make the building of those
targets optional
using
option(BUILD_OPTIONAL_TARGET "Build Optional Target" OFF)
then
if(BUILD_OPTIONAL_TARGET)
add_executable(...)
endif()
Then set BUILD_OPTIONAL_TARGET to OFF if you don't care of those when
building a package.
Currently CMake (and not CPack) is not tracking down target that
"are built but not installed"
it may be doable but this would be a new feature.
I don't really know the portion of CMake code handling manifest files
but AFAIRemember this was handled **at install time** so that the
list of "to be installed files/target" is unknown at CMake time.
What "may be possible" is to add a new "package/fast" target
which would depend on "preinstall/fast and install/fast" instead of
"preinstall" so that
you will avoid the build of "all"
The trouble is, the fast target does not build **anything** so you'll
have to do:
make -k all
make package/fast
to achieve what you want.
--=20
Erk
Le gouvernement repr=E9sentatif n'est pas la d=E9mocratie --
http://www.le-message.org
More information about the CMake
mailing list