mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-08 06:48:56 -04:00

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
18 lines
385 B
CMake
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})
|