summaryrefslogtreecommitdiff
path: root/tests/compilation/CMakeLists.txt
blob: 064967af6f730061c37c3bc36a8a6cebb943f97a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
add_test(NAME compilation_tests
    COMMAND ${CMAKE_COMMAND}
        -DQT_VERSION=${QT_VERSION}
        -DQTGLIB_LIBRARY=$<TARGET_FILE:${QTGLIB_LIBRARY}>
        -DQTGSTREAMER_LIBRARY=$<TARGET_FILE:${QTGSTREAMER_LIBRARY}>
        -DQTGSTREAMER_INCLUDE_DIR=${QTGSTREAMER_INCLUDE_DIR}
        -DQTGSTREAMER_STATIC=${QTGSTREAMER_STATIC}
        -DCMAKE_MODULE_PATH=${CMAKE_MODULE_PATH}
        -DBINARY_DIR=${CMAKE_CURRENT_BINARY_DIR}/CompilationTests
        -DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}
        -DGENERATOR=${CMAKE_GENERATOR}
        -P ${CMAKE_CURRENT_SOURCE_DIR}/RunCompilationTests.cmake
)