From: Ivan Maidanski Date: Wed, 19 Jun 2019 21:42:42 +0000 (+0300) Subject: Compile 'de' test GUI app with resources by CMake script X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b42e8b07f2013e70216f34b779dc3dd22d073d0a;p=gc Compile 'de' test GUI app with resources by CMake script * CMakeLists.txt [build_tests && build_cord && WIN32] (de): Add cord/tests/de_win.rc to add_executable specification. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a6e242b6..9bc3f556 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -306,7 +306,7 @@ if (build_tests) add_test(NAME cordtest COMMAND cordtest) if (WIN32) - add_executable(de cord/tests/de.c cord/tests/de_win.c) + add_executable(de cord/tests/de.c cord/tests/de_win.c cord/tests/de_win.rc) set_target_properties(de PROPERTIES WIN32_EXECUTABLE TRUE) target_link_libraries(de PRIVATE cord gc gdi32) endif()