[go: up one dir, main page]

Menu

Commit [r235]  Maximize  Restore  History

Drop the NON_TRANSITIVE option and implement the LASI_LINK_PUBLIC option which supersedes it

LASI_LINK_PUBLIC specifies whether libLASi is linked against external
libraries in a PUBLIC (ON) or PRIVATE (OFF) way, i.e., whether the
target_link_libraries command for libLASi uses the PUBLIC (ON) or
PRIVATE (OFF) signature (this only affects the CMake-configured
linking of the examples in the build-tree) and whether the configured
lasi.pc file that controls the linking of the examples in the install
tree and all external application, libraries, and dll's that link
against libLASi is configured with the "Requires:" (ON) or
"Requires.private:" (OFF) signature for the external libraries. So in
effect, ON means means all applications, libraries, and dll's that
link to libLASI are also linked against its external libraries for the
shared case and OFF means the opposite for the shared case. In
addition, the CMake-based build system for libLASi and its configured
pkg-config result insures all applications, libraries, and dll's that
link to libLASI are going to be linked to its external libraries for
the static case (which, of course, is a requirement for that case).

Tested by: Alan W. Irwin <airwin@...> on Linux
(Debian Buster) by following the preliminary testing procedure
as documented in README.Release_Manager_Cookbook.

airwin 2019-12-20

changed /trunk/CMakeLists.txt
changed /trunk/README.Release_Manager_Cookbook
changed /trunk/README.release
changed /trunk/cmake/modules/lasi.cmake
changed /trunk/examples/CMakeLists.txt
changed /trunk/examples/Makefile.examples.in
changed /trunk/src/CMakeLists.txt