summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_custom_command/RunCMakeTest.cmake
blob: c12e5aa6e6dd9bb26ff066bdb26c19a38719f40e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include(RunCMake)

run_cmake(AppendNoOutput)
run_cmake(AppendNotOutput)
run_cmake(BadArgument)
run_cmake(NoArguments)
run_cmake(NoOutputOrTarget)
run_cmake(OutputAndTarget)
run_cmake(SourceByproducts)
run_cmake(SourceUsesTerminal)
run_cmake(TargetImported)
run_cmake(TargetNotInDir)

if(${RunCMake_GENERATOR} MATCHES "Visual Studio ([^89]|[89][0-9])")
  run_cmake(RemoveEmptyCommands)
endif()