mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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/DisplayNameScreen.xib)
|
||||
|
||||
set(updater_src_files
|
||||
src/updater/main.m)
|
||||
|
||||
set(APP_NAME "HQ Launcher")
|
||||
|
||||
set(CMAKE_C_FLAGS "-x objective-c")
|
||||
|
@ -72,6 +75,7 @@ endfunction()
|
|||
set_packaging_parameters()
|
||||
|
||||
add_executable(${PROJECT_NAME} MACOSX_BUNDLE ${src_files})
|
||||
add_executable("updater" ${updater_src_files})
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME ${APP_NAME}
|
||||
MACOSX_BUNDLE_BUNDLE_NAME ${APP_NAME})
|
||||
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/")
|
||||
|
||||
install(
|
||||
TARGETS HQLauncher
|
||||
TARGETS HQLauncher updater
|
||||
BUNDLE DESTINATION "."
|
||||
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