-
-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- we are building a static lib, so don't set the link flags explicitly, use STATIC - use the POSITION_INDEPENDENT_CODE property instead of setting the flag explicitly - (gcc/clang) should not set "-g" (debug symbols) explicitly; this is controlled by CMAKE_BUILD_TYPE for single-configuration generators (Debug or RelWithDebInfo will include symbols) - (gcc/clang) "-O0" is the default for Debug builds - (gcc/clang) "-O3" is the default for Release builds - (MSVC) remove explicit setting of flags which are already set by Debug/Release (/EHsc, /Md, etc.) - (MSVC) remove manipulation of CMAKE_CXX_FLAGS_DEBUG; the including project should control this - remove/replace references to CMAKE_BUILD_TYPE to allow for multi-config generators
- Loading branch information
Showing
3 changed files
with
38 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters