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=C3=A9sentatif n'est pas la d=C3=A9mocratie --
<a href=3D"http://www.le-message.org" target=3D"_blank">http://www.le-messa=
ge.org</a>
--
Powered by <a href=3D"http://www.kitware.com" target=3D"_blank">www.kitware=
.com</a>
Visit other Kitware open-source projects at <a href=3D"http://www.kitware.c=
om/opensource/opensource.html" target=3D"_blank">http://www.kitware.com/ope=
nsource/opensource.html</a>
Please keep messages on-topic and check the CMake FAQ at: <a href=3D"http:/=
/www.cmake.org/Wiki/CMake_FAQ" target=3D"_blank">http://www.cmake.org/Wiki/=
CMake_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a href=3D"http://www.cmake.org/mailman/listinfo/cmake" target=3D"_blank">h=
ttp://www.cmake.org/mailman/listinfo/cmake</a>
</tt></pre>
</div>
<!-- end of AOLMsgPart_0_3fbc84b6-f28a-44d6-8ddd-b4ae9b79c5f3 -->
</div>
</font></font>
----------MB_8CFD2B3257EB745_19F8_145C2_Webmail-d112.sysops.aol.com--
More information about the CMake
mailing list