Hello,
I would like to ask about POSITION_INDEPENDENT_CODE target property. As
of CMake 3.8.2 POSITION_INDEPENDENT_CODE appends -fPIE or -fPIC to
CMAKE__FLAGS and CMAKE_EXE_LINKER_FLAGS when building an
executable or a library respectively. However, to build a PIE -pie
linker flag is additionally
> > In calls to cpack only one core is used if Makefiles are used. Is there
> any option to enable multicore?
>
It depends on what your trying to achieve. Typically the bottleneck for
CPack is in the compression step of the resulting tar (or rpm, etc.). In
that case, CMake is limited by the liba
I have a large project and I need to create a Debian package for each
sub-project (essentially each add_subdirectory).
I have been experimenting with CPack components as outlined here:
https://cmake.org/cmake/help/v3.8/module/CPackComponent.html?highlight=cpack_components_grouping#variable:CPACK_C
2017-07-22 1:55 GMT+02:00 DKLind :
> I have a large project and I need to create a Debian package for each
> sub-project (essentially each add_subdirectory).
>
> I have been experimenting with CPack components as outlined here:
> https://cmake.org/cmake/help/v3.8/module/CPackComponent.
> html?high