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

foreach(
  extraGenerator
  IN ITEMS
    "CodeBlocks"
    "CodeLite"
    "Eclipse CDT4"
    "Kate"
    "Sublime Text 2"
  )
  block()
    set(RunCMake_GENERATOR "${extraGenerator} - ${RunCMake_GENERATOR}")
    set(RunCMake_TEST_VARIANT_DESCRIPTION ": ${RunCMake_GENERATOR}")
    string(REPLACE " " "" extraGeneratorNoSpaces "${extraGenerator}")
    set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/Simple-${extraGeneratorNoSpaces})
    run_cmake(Simple)
  endblock()
endforeach()