CMakeLists.txt 1.21 KB
Newer Older
Lukáš Tvrdý's avatar
Lukáš Tvrdý committed
1
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
Boudewijn Rempt's avatar
Boudewijn Rempt committed
2
include_directories( ${CMAKE_SOURCE_DIR}/sdk/tests ../)
Lukáš Tvrdý's avatar
Lukáš Tvrdý committed
3 4 5

macro_add_unittest_definitions()

6
set(kritagmic_parser_SOURCES
Lukáš Tvrdý's avatar
Lukáš Tvrdý committed
7 8 9 10 11 12 13 14
../kis_gmic_parser.cpp
../kis_gmic_blacklister.cpp
../Category.cpp
../Command.cpp
../Parameter.cpp
../kis_gmic_filter_model.cpp
../kis_gmic_filter_settings.cpp
../kis_gmic_simple_convertor.cpp
15
../kis_input_output_mapper.cpp
16 17
../kis_gmic_applicator.cpp
../kis_gmic_command.cpp
18
../kis_gmic_data.cpp
19
../kis_gmic_synchronize_layers_command.cpp
20
../kis_gmic_synchronize_image_size_command.cpp
21
../kis_export_gmic_processing_visitor.cpp
22
../kis_import_gmic_processing_visitor.cpp
Lukáš Tvrdý's avatar
Lukáš Tvrdý committed
23 24 25 26 27
)


########### next target ###############

28
set(kis_gmic_tests_SRCS kis_gmic_tests.cpp ${kritagmic_parser_SOURCES})
29
kde4_add_unit_test(KisGmicTests TESTNAME krita-plugins-extensions-gmic-GmicTests ${kis_gmic_tests_SRCS})
30
target_link_libraries(KisGmicTests gmic kritaimage Qt5::Test ${QT_QTXML_LIBRARY})
Lukáš Tvrdý's avatar
Lukáš Tvrdý committed
31 32


33
set(kis_gmic_benchmarks_SRCS kis_gmic_benchmarks.cpp ${kritagmic_parser_SOURCES})
34
krita_add_benchmark(KisGmicBenchmark TESTNAME krita-plugins-extensions-gmic-GmicBenchmarks ${kis_gmic_benchmarks_SRCS})
35
target_link_libraries(KisGmicBenchmark gmic kritaimage Qt5::Test ${QT_QTXML_LIBRARY})