mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 13:18:38 +02:00
inital work
This commit is contained in:
parent
e1c198903d
commit
9c6c4a264d
2 changed files with 9 additions and 1 deletions
|
@ -47,6 +47,9 @@ set(src_files
|
||||||
nib/ProcessScreen.xib
|
nib/ProcessScreen.xib
|
||||||
nib/DisplayNameScreen.xib)
|
nib/DisplayNameScreen.xib)
|
||||||
|
|
||||||
|
set(updater_src_files
|
||||||
|
src/updater/main.m)
|
||||||
|
|
||||||
set(APP_NAME "HQ Launcher")
|
set(APP_NAME "HQ Launcher")
|
||||||
|
|
||||||
set(CMAKE_C_FLAGS "-x objective-c")
|
set(CMAKE_C_FLAGS "-x objective-c")
|
||||||
|
@ -72,6 +75,7 @@ endfunction()
|
||||||
set_packaging_parameters()
|
set_packaging_parameters()
|
||||||
|
|
||||||
add_executable(${PROJECT_NAME} MACOSX_BUNDLE ${src_files})
|
add_executable(${PROJECT_NAME} MACOSX_BUNDLE ${src_files})
|
||||||
|
add_executable("updater" ${updater_src_files})
|
||||||
set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME ${APP_NAME}
|
set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME ${APP_NAME}
|
||||||
MACOSX_BUNDLE_BUNDLE_NAME ${APP_NAME})
|
MACOSX_BUNDLE_BUNDLE_NAME ${APP_NAME})
|
||||||
set_from_env(LAUNCHER_HMAC_SECRET LAUNCHER_HMAC_SECRET "")
|
set_from_env(LAUNCHER_HMAC_SECRET LAUNCHER_HMAC_SECRET "")
|
||||||
|
@ -103,7 +107,7 @@ add_custom_command(TARGET ${PROJECT_NAME} PRE_BUILD
|
||||||
${CMAKE_SOURCE_DIR}/images "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${APP_NAME}.app/Contents/Resources/")
|
${CMAKE_SOURCE_DIR}/images "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${APP_NAME}.app/Contents/Resources/")
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS HQLauncher
|
TARGETS HQLauncher updater
|
||||||
BUNDLE DESTINATION "."
|
BUNDLE DESTINATION "."
|
||||||
COMPONENT applications
|
COMPONENT applications
|
||||||
)
|
)
|
||||||
|
|
4
launchers/darwin/src/updater/main.m
Normal file
4
launchers/darwin/src/updater/main.m
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
int main(int argc, const char* argv[])
|
||||||
|
{
|
||||||
|
NSLog(@"Hello World");
|
||||||
|
}
|
Loading…
Reference in a new issue