mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
trip project name fill in popup before downloads
This commit is contained in:
parent
dd72a627a9
commit
6e81645fd4
1 changed files with 6 additions and 7 deletions
|
|
@ -2,19 +2,18 @@ cmake_minimum_required (VERSION 3.21.0)
|
||||||
set (CMAKE_CXX_STANDARD 17)
|
set (CMAKE_CXX_STANDARD 17)
|
||||||
set(CMAKE_CONFIGURATION_TYPES "Debug;RelWithDebInfo;Release" CACHE STRING "" FORCE)
|
set(CMAKE_CONFIGURATION_TYPES "Debug;RelWithDebInfo;Release" CACHE STRING "" FORCE)
|
||||||
|
|
||||||
include("${CMAKE_SOURCE_DIR}/Tools/CMake/torque_macros.cmake")
|
|
||||||
include("${CMAKE_SOURCE_DIR}/Tools/CMake/torque_configs.cmake")
|
|
||||||
|
|
||||||
# Ensure multi-core compilation is enabled for everything
|
|
||||||
add_compile_options($<$<CXX_COMPILER_ID:MSVC>:/MP>)
|
|
||||||
|
|
||||||
|
|
||||||
# An application name must be set first
|
# An application name must be set first
|
||||||
set(TORQUE_APP_NAME "" CACHE STRING "the app name")
|
set(TORQUE_APP_NAME "" CACHE STRING "the app name")
|
||||||
if("${TORQUE_APP_NAME}" STREQUAL "")
|
if("${TORQUE_APP_NAME}" STREQUAL "")
|
||||||
message(FATAL_ERROR "Please set TORQUE_APP_NAME first")
|
message(FATAL_ERROR "Please set TORQUE_APP_NAME first")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
include("${CMAKE_SOURCE_DIR}/Tools/CMake/torque_macros.cmake")
|
||||||
|
include("${CMAKE_SOURCE_DIR}/Tools/CMake/torque_configs.cmake")
|
||||||
|
|
||||||
|
# Ensure multi-core compilation is enabled for everything
|
||||||
|
add_compile_options($<$<CXX_COMPILER_ID:MSVC>:/MP>)
|
||||||
|
|
||||||
project(${TORQUE_APP_NAME})
|
project(${TORQUE_APP_NAME})
|
||||||
|
|
||||||
# Once an app name is determined, we know what our project pathing structure should look like
|
# Once an app name is determined, we know what our project pathing structure should look like
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue