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 target=3D"_blank" href=3D"http://www.le-message.org">http://www.le-messa=
ge.org</a>
--

Powered by <a target=3D"_blank" href=3D"http://www.kitware.com">www.kitware=
.com</a>

Visit other Kitware open-source projects at <a target=3D"_blank" href=3D"ht=
tp://www.kitware.com/opensource/opensource.html">http://www.kitware.com/ope=
nsource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at: <a target=3D"_bla=
nk" href=3D"http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/=
CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a target=3D"_blank" href=3D"http://www.cmake.org/mailman/listinfo/cmake">h=
ttp://www.cmake.org/mailman/listinfo/cmake</a>
</tt></pre>
</div>



=20



</div>



</font></div>

</blockquote>
</div>

 <!-- end of AOLMsgPart_1_2fde2055-0b9f-4b5f-8e96-a504c3f8006c -->



</div>

</font>
----------MB_8CFD2B69279A96E_19F8_161E1_Webmail-d112.sysops.aol.com--


More information about the CMake mailing list