forked from TriBITSPub/TriBITS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for include of ProjectCompilerPostConfig.cmake (TriBITSPub#207)
This is a very strong yet very portable test that ensures that the file cmake/ProjectCompilerPostConfig.cmake gets included and it is able to modify CMAKE_CXX_FLAGS.
- Loading branch information
1 parent
6fa3d69
commit e3d86d5
Showing
2 changed files
with
49 additions
and
0 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
1 change: 1 addition & 0 deletions
1
test/core/ExamplesUnitTests/DummyProjectCompilerPostConfig.cmake
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDUMMY_DEFINE_JUST_TO_TSET_COMILER_POST_CONFIG") |