mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Refactor/Create APT/DNF Repository (#1648)
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
# process a .rc file for windows
|
||||
# Provides (BINARY_NAME)_WIN_RC_PATH with path to generated file
|
||||
function(generate_win_rc_file BINARY_NAME)
|
||||
# target path to store generated files
|
||||
set(TARGET_PATH ${CMAKE_BINARY_DIR}/win_rc_file/${BINARY_NAME})
|
||||
# assets
|
||||
string(REPLACE "/" "\\\\" WIN_RC_ICON_PATH ${CMAKE_SOURCE_DIR}/cmake/nsis/installer.ico)
|
||||
# configure the rc file
|
||||
configure_file(
|
||||
${CMAKE_SOURCE_DIR}/cmake/win/win.rc.in
|
||||
${TARGET_PATH}/win.rc
|
||||
)
|
||||
# provide var for parent scope
|
||||
set(${BINARY_NAME}_WIN_RC_PATH ${TARGET_PATH}/win.rc PARENT_SCOPE)
|
||||
endfunction()
|
Reference in New Issue
Block a user