File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ set(CMAKE_MODULE_PATH
39
39
40
40
# Important when BUILD_SHARED_LIBS option is set to TRUE
41
41
set (_AX_LUA_PROJ TRUE )
42
+ set (_AX_USE_PREBUILT FALSE )
42
43
43
44
# NOTE: The order of the cmake module "include(AXGame...)" statements matters
44
45
include (AXGameEngineOptions )
Original file line number Diff line number Diff line change
1
+ if ((NOT APPLE ) AND (NOT WINRT ))
2
+ ax_get_resource_path (APP_RES_DIR ${APP_NAME} )
3
+ ax_sync_target_res (${APP_NAME} LINK_TO ${APP_RES_DIR} FOLDERS ${content_folder} SYM_LINK 1 )
4
+
5
+ if ((WINDOWS AND (NOT (CMAKE_GENERATOR MATCHES "Ninja" ))))
6
+ set_property (TARGET ${APP_NAME} PROPERTY VS_DEBUGGER_WORKING_DIRECTORY "${content_folder} " )
7
+ if (NOT DEFINED BUILD_ENGINE_DONE )
8
+ set_property (DIRECTORY PROPERTY VS_STARTUP_PROJECT ${APP_NAME} )
9
+ endif ()
10
+ endif ()
11
+ elseif (WINRT )
12
+ if (NOT DEFINED BUILD_ENGINE_DONE )
13
+ set_property (DIRECTORY PROPERTY VS_STARTUP_PROJECT ${APP_NAME} )
14
+ endif ()
15
+ endif ()
16
+
17
+ if (_AX_USE_PREBUILT ) # support windows and linux
18
+ use_ax_compile_define (${APP_NAME} )
19
+
20
+ include (AXLinkHelpers )
21
+ ax_link_lua_prebuilt (${APP_NAME} ${_AX_ROOT} ${AX_PREBUILT_DIR} )
22
+ endif ()
23
+
24
+ ax_setup_app_props (${APP_NAME} )
You can’t perform that action at this time.
0 commit comments