summaryrefslogtreecommitdiffstats
path: root/tests/auto/scxmlcoutput/path/CMakeLists.txt
blob: cb7f5487b23c53d7d38fe262a75cb25eafb28175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
qt_internal_add_test(tst_scxmlcoutput_path
    SOURCES
        tst_scxmlcoutput.cpp
    PUBLIC_LIBRARIES
        Qt::Scxml
)

# This testcase tests setting the output path
set(outputPath "${CMAKE_CURRENT_BINARY_DIR}/thechosenpath")
# Create the path first relative to the build directory, otherwise the
# code generation's output might fail on some platforms.
file(MAKE_DIRECTORY "${outputPath}")

qt6_add_statecharts(tst_scxmlcoutput_path
    ../shared/ids1.scxml
    OUTPUT_DIR "${outputPath}"
)