nostalgia/test/CMakeLists.txt
Gary Talent 004534c8e7 Squashed 'deps/nfde/' content from commit 28ade5a5c
git-subtree-dir: deps/nfde
git-subtree-split: 28ade5a5cc5d17cea8fe4034572cac8fd54eb53f
2022-05-25 20:36:50 -05:00

18 lines
424 B
CMake

set(TEST_LIST
test_opendialog.c
test_opendialog_cpp.cpp
test_opendialogmultiple.c
test_opendialogmultiple_cpp.cpp
test_opendialogmultiple_enum.c
test_pickfolder.c
test_pickfolder_cpp.cpp
test_savedialog.c)
foreach (TEST ${TEST_LIST})
string(REPLACE "." "_" CLEAN_TEST_NAME ${TEST})
add_executable(${CLEAN_TEST_NAME}
${TEST})
target_link_libraries(${CLEAN_TEST_NAME}
PUBLIC nfd)
endforeach()