فهرست منبع

Help from Az finally gave the correct answer to the problem I was trying to address originally, so really this fix is from Az.
Exposes the directory for where your game files go in cmake without having to go to Advanced tab.

Joseph 4 سال پیش
والد
کامیت
fe9dc1e25b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Tools/CMake/basics.cmake

+ 1 - 1
Tools/CMake/basics.cmake

@@ -32,7 +32,7 @@ if(NOT TORQUE_TEMPLATE)
     set(TORQUE_TEMPLATE "BaseGame" CACHE STRING "the template to use")
 endif()
 if(NOT TORQUE_APP_DIR)
-    set(TORQUE_APP_DIR "${CMAKE_BINARY_DIR}")
+    set(TORQUE_APP_DIR "${CMAKE_SOURCE_DIR}/My Projects/${TORQUE_APP_NAME}" CACHE STRING "final installation location")
 endif()
 if(NOT projectOutDir)
     set(projectOutDir "${TORQUE_APP_DIR}/game")