summaryrefslogtreecommitdiff
path: root/tests/compilation/CompilationTests.cmake
blob: a55f802e233da4d89cd64a738511ad4a94f42d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This file defines all the compilation tests

##########
# Tests for testing whether the compilation tests system works as expected.
# If at least one of those tests fails, something is wrong with the cmake scripts.

cxx_compilation_test(compilation_test_system_test_1 SHOULD_COMPILE "
int main() { return 0; }
")

cxx_compilation_test(compilation_test_system_test_2 SHOULD_FAIL "
int main(float i) { return foobar; }
")
#########