mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-22 07:04:47 -04:00
win: winmain, manifest, icon, and some improvements
This commit is contained in:
parent
f70b29abab
commit
7bea57e587
23 changed files with 203 additions and 140 deletions
|
@ -2,7 +2,6 @@ SET(files error.cpp
|
|||
)
|
||||
|
||||
add_library(skeldal_platform STATIC)
|
||||
add_executable(skeldal)
|
||||
|
||||
target_sources(skeldal_platform PRIVATE
|
||||
legacy_coroutines.cpp
|
||||
|
@ -21,8 +20,11 @@ if(WIN32)
|
|||
windows/save_folder.cpp
|
||||
windows/map_file.cpp
|
||||
)
|
||||
add_executable(skeldal WIN32)
|
||||
target_sources(skeldal PRIVATE
|
||||
windows/app_start.cpp
|
||||
windows/skeldal.manifest
|
||||
windows/skeldal.rc
|
||||
)
|
||||
target_compile_definitions(skeldal_platform PRIVATE PLATFORM_WINDOWS)
|
||||
message(STATUS "Building for Windows")
|
||||
|
@ -33,16 +35,18 @@ elseif(UNIX AND NOT APPLE)
|
|||
linux/save_folder.cpp
|
||||
linux/map_file.cpp
|
||||
)
|
||||
add_executable(skeldal)
|
||||
target_sources(skeldal PRIVATE
|
||||
linux/app_start.cpp
|
||||
)
|
||||
target_compile_definitions(skeldal_platform PRIVATE PLATFORM_LINUX)
|
||||
message(STATUS "Building for Linux")
|
||||
|
||||
elseif(APPLE)
|
||||
elseif(APPLE)
|
||||
target_sources(skeldal_platform PRIVATE
|
||||
mac_os/save_folder.cpp
|
||||
)
|
||||
add_executable(skeldal)
|
||||
target_sources(skeldal PRIVATE
|
||||
linux/app_start.cpp
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue