comparison CMakeLists.txt @ 124:4c812fdf82a6

linux: add material for creating appimages, upload artifacts after CI build
author Paper <mrpapersonic@gmail.com>
date Thu, 09 Nov 2023 00:57:05 -0500
parents 275da698697d
children 859d2a957940
comparison
equal deleted inserted replaced
123:a45edd073f9e 124:4c812fdf82a6
175 list(APPEND SRC_FILES 175 list(APPEND SRC_FILES
176 src/sys/win32/dark_theme.cc 176 src/sys/win32/dark_theme.cc
177 rc/win32/resource.rc 177 rc/win32/resource.rc
178 ${CMAKE_CURRENT_BINARY_DIR}/rc/version.rc 178 ${CMAKE_CURRENT_BINARY_DIR}/rc/version.rc
179 ) 179 )
180 elseif(LINUX)
181 configure_file(
182 ${CMAKE_CURRENT_SOURCE_DIR}/rc/linux/Minori.desktop.in
183 ${CMAKE_CURRENT_BINARY_DIR}/rc/Minori.desktop
184 @ONLY
185 )
186 configure_file(
187 ${CMAKE_CURRENT_SOURCE_DIR}/rc/favicon256.png
188 ${CMAKE_CURRENT_BINARY_DIR}/rc/Minori.png
189 COPYONLY
190 )
180 endif() 191 endif()
181 192
182 add_executable(minori WIN32 MACOSX_BUNDLE ${SRC_FILES}) 193 add_executable(minori WIN32 MACOSX_BUNDLE ${SRC_FILES})
183 set_property(TARGET minori PROPERTY CXX_STANDARD 11) 194 set_property(TARGET minori PROPERTY CXX_STANDARD 11)
184 set_property(TARGET minori PROPERTY AUTOMOC ON) 195 set_property(TARGET minori PROPERTY AUTOMOC ON)