@@ -6,45 +6,39 @@ project (Obelisk
66 LANGUAGES CXX
77)
88
9- set (CMAKE_CXX_STANDARD_REQUIRED ON )
10- set (CMAKE_CXX_STANDARD 20)
11-
12- set (TARGET_NAME Obelisk)
139
1410if (${CMAKE_SYSTEM_NAME } STREQUAL "Windows" )
15- add_executable (${TARGET_NAME} WIN32 )
11+ add_executable (Obelisk WIN32 )
1612else ()
17- add_executable (${TARGET_NAME} )
13+ add_executable (Obelisk )
1814endif ()
1915
20- target_sources (${TARGET_NAME} PUBLIC EntryPoint.cpp )
16+ target_sources (Obelisk PUBLIC EntryPoint.cpp )
2117
2218# We set this debugger directory to find assets and resources file
2319# after being copied to Debug and Release output directories
2420#
2521if (${CMAKE_SYSTEM_NAME } STREQUAL "Windows" )
26- set_target_properties (${TARGET_NAME} PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "$(ProjectDir)$(Configuration)" )
22+ set_target_properties (Obelisk PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "$(ProjectDir)$(Configuration)" )
2723endif ()
2824
29- target_include_directories (${TARGET_NAME}
25+ target_include_directories (Obelisk
3026 PRIVATE
3127 .
3228 ${ENLISTMENT_ROOT}
3329 ${ENLISTMENT_ROOT} /ZEngine
3430)
3531
36- target_compile_definitions (${TARGET_NAME}
32+ target_compile_definitions (Obelisk
3733 PRIVATE
3834 NOMINMAX
3935 UNICODE
4036 _UNICODE
4137)
4238
43- target_link_libraries (${TARGET_NAME} PUBLIC
39+ target_link_libraries (Obelisk PUBLIC
4440 tetragrama
4541 imported ::External_obeliskLibs
4642)
4743
48- set_target_properties (${TARGET_NAME} PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREFIX } /lib)
49-
50- install (TARGETS ${TARGET_NAME} DESTINATION bin)
44+ install (TARGETS Obelisk DESTINATION bin)
0 commit comments