summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/cmake_parse_arguments/Utils.cmake
blob: 3bbf115e8933d14ff6514c7352070039f612dfce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include(${CMAKE_CURRENT_LIST_DIR}/test_utils.cmake)

# test the TEST macro itself

TEST(asdf UNDEFINED)

SET (asdf FALSE)
TEST(asdf FALSE)

SET (asdf TRUE)
TEST(asdf TRUE)

SET (asdf TRUE)
TEST(asdf TRUE)

SET (asdf "some value")
TEST(asdf "some value")

SET (asdf some list)
TEST(asdf "some;list")