libSDL2pp/tests/CMakeLists.txt
Dmitry Marakasov 3df16d40d1 Add basic tests
For now the only thing checked is that header files compile by
themselves, e.g. includes and forward declarations in them are
complete and they do not require extra includes
2014-02-03 01:48:38 +04:00

18 lines
385 B
CMake

# header tests: these just include specific headers to check if
# they are compilable (e.g., includes and forward declarations are
# complete and do not require extra includes)
SET(HEADER_TESTS
hdr_exception
hdr_point
hdr_rect
hdr_renderer
hdr_sdl
hdr_sdl2pp
hdr_texture
hdr_window
)
FOREACH(TEST ${HEADER_TESTS})
ADD_EXECUTABLE(${TEST} ${TEST}.cc)
ENDFOREACH(TEST ${TESTS})