-
-
Save avilleret/58ca1c9ba79cd203e16729ffe760ddc2 to your computer and use it in GitHub Desktop.
minimal CMakeLists.txt to check environnement variable
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
set(ENV{FOO} ${BAR}) | |
message(STATUS "BAR: " ${BAR}) | |
message(STATUS "ENV(FOO): " $ENV{FOO}) |
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
set(ENV{CASH} ${BAR}) | |
message(STATUS "BAR: " ${BAR}) | |
message(STATUS "ENV(CASH): " $ENV{CASH}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment