Set BUILD_SHARED_LIB to ON by default for Trilinos
Created by: ambrad
Description: (written by Ross Bartlett)
By default raw CMake projects don't set BUILD_SHARED_LIBS
which means it is off and you get static libs. That is bad. In general, static libs take longer to create and link and take up a lot more disk space than for shared libs.
Also, shared libs should be the default as per the agreement for the larger xSDK standards that are being developed as part of the IDEAS project (see "Select option used for indicating whether to build shared libraries (default is shared in XSDK mode")).
Also, note that RPATH issues has been resolved (see TriBITSPub/TriBITS#126) and installed libraries and exectuables run without needing to set any env vars.
Therefore, this Story is to change BUILD_SHARED_LIB
to ON
by default for Trilinos.
Original Description:
@bartlettroscoe: The file ./cmake/tribits/ci_support/CheckinTest.py generates .config files with example configuration changes commented out. One of them is -DBUILD_SHARED:BOOL=ON. But this should be -DBUILD_SHARED_LIBS:BOOL=ON.