From a4c67174cda82027e7edd8f0e98429cee46aa4a6 Mon Sep 17 00:00:00 2001 From: gitlost Date: Thu, 12 Aug 2021 14:54:21 +0100 Subject: [PATCH] frontend(_qt)/CMakeLists.txt: add Windows rc files --- frontend/CMakeLists.txt | 5 +++++ frontend/zint_black.ico | Bin 25698 -> 14134 bytes frontend_qt/CMakeLists.txt | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/frontend/CMakeLists.txt b/frontend/CMakeLists.txt index 0c6ce99d..cdf5e257 100644 --- a/frontend/CMakeLists.txt +++ b/frontend/CMakeLists.txt @@ -1,5 +1,6 @@ # Copyright (C) 2008 by BogDan Vatra < bogdan@licentia.eu > # Copyright (C) 2009-2021 Robin Stuart +# vim: set ts=4 sw=4 et : project(zint_frontend) @@ -7,6 +8,10 @@ set(${PROJECT_NAME}_SRCS main.c) add_executable(${PROJECT_NAME} ${zint_frontend_SRCS}) +if(WIN32) + target_sources(${PROJECT_NAME} PRIVATE zint.rc) +endif() + target_include_directories(${PROJECT_NAME} PUBLIC "${CMAKE_SOURCE_DIR}/backend") set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME "zint") diff --git a/frontend/zint_black.ico b/frontend/zint_black.ico index 84e8b70282a719dc50c8e6e520e23cd641ae3f1f..9f0ae7a2aa7714d8932816dd9be017426d324582 100644 GIT binary patch literal 14134 zcmeI2ONbm*6o&6iOVS`t+KmhtodyxyIiO^l2!h~FUARnKiTEJ8@qwg|GDuctBcdz8 zl`D<95QNKdMF_E~Q<7ercc0eyn z7jrYGV=@2Y`ggGgQr6#}a%w{x_q?Mnzx%b-UQyyQ4ci(!(ALCR-b)qpU)I<&Vw)N+ zRLoCZ&=6m*!#aLj{4pc1A^IGg4`b)Wr^R?ohkwJf>e&*@u7URxc!Nm(cwJ)C=kvHf zEqQ+x&xi-bBCM(NH!+SYvWb01jOTVg`p)7YcwgM2;dAji918G~`sy?g#(BnhW1E_T zxG%Q<&=?wu>M&G4>j0lPCbl(HIsZ>M2ys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Fx*~Kiz(lRvRa$;-k%}gR9}w6l#Vf( zjB5%thBwBOZ5fj_#=94cY)i&AmCCrrsM1bjI!eB!`bsQs-)k|nBlivM$$Vqf5?y0> z)`8y2G&IrzePh0jxiO|^l1J~=wnqHMVl~Gz88?BIa&xxYL{9H2D`Pa*Zj%_zI5iiu zQf|gnn~0V1nQOO6fM%SUi&-f*W2#NW%J|H+l>wU5ZI5zm{QrMVZtY`a&A&DO&6#u7 z`O{A35B-)-bB<$MVgH-vk8&*5b}MF}?%fhP5o=2ey!*??q9VKI-u;#3zvy>>wXJyM zA4FF|8?Uui|1@jb;uzeWtk(RS$bT!G&?fWW3jRe?bFanyo4HSHasTAN)cCoqrHeWL z#$q5|{k&1eXJ|_)Gu1Z48SBe2zHv;8+E1|FlaIONzZl^N>GcFa*zIHgQ!N69zZrr&$v{MIN&{gdO? z^3TWESPZQ({s+Z>V>xO`zB2zU>8CNu9$#3x9_&M5I{*|%(qS}hz01+g* zq54@R1xZFa$M~R zFUMpFRmN`#PS#c8d0Q?rzp=g{U#Ty*Wy*EsHm8QgKvw?@AoIDt+%|?+%4OTKzG2^x zFUy-kWo%u=Noc4k)aP~4)QrJz_skf4kZS3q OjKQqDt}1mo_WuB*tNslD diff --git a/frontend_qt/CMakeLists.txt b/frontend_qt/CMakeLists.txt index dfbfdf17..0b11c83d 100644 --- a/frontend_qt/CMakeLists.txt +++ b/frontend_qt/CMakeLists.txt @@ -24,6 +24,10 @@ endif() add_executable(${PROJECT_NAME} ${zint-qt_SRCS} resources.qrc) +if(WIN32) + target_sources(${PROJECT_NAME} PRIVATE res/qtZint.rc) +endif() + target_include_directories(${PROJECT_NAME} PUBLIC "${CMAKE_SOURCE_DIR}/backend" "${CMAKE_SOURCE_DIR}/backend_qt") target_link_libraries(${PROJECT_NAME} zint QZint Qt${QT_VERSION_MAJOR}::UiTools Qt${QT_VERSION_MAJOR}::Xml Qt${QT_VERSION_MAJOR}::Gui Qt${QT_VERSION_MAJOR}::Core)