소스 검색

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")