mirror of
https://github.com/reactos/CMake.git
synced 2025-03-01 00:17:05 +00:00
12 lines
227 B
Plaintext
12 lines
227 B
Plaintext
|
|
SET (ZERO_VAR 0)
|
|
IF(ZERO_VAR)
|
|
ADD_DEFINITIONS(-DSHOULD_NOT_BE_DEFINED)
|
|
ELSE(ZERO_VAR)
|
|
ADD_DEFINITIONS(-DSHOULD_BE_DEFINED)
|
|
ENDIF(ZERO_VAR)
|
|
|
|
SET(ONE_VAR 1)
|
|
|
|
SET(STRING_VAR "CMake is great" CACHE STRING "test a cache variable")
|