mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 12:14:45 +00:00
trip project name fill in popup before downloads
This commit is contained in:
parent
dd72a627a9
commit
6e81645fd4
|
|
@ -2,19 +2,18 @@ cmake_minimum_required (VERSION 3.21.0)
|
|||
set (CMAKE_CXX_STANDARD 17)
|
||||
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
|
||||
set(TORQUE_APP_NAME "" CACHE STRING "the app name")
|
||||
if("${TORQUE_APP_NAME}" STREQUAL "")
|
||||
message(FATAL_ERROR "Please set TORQUE_APP_NAME first")
|
||||
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})
|
||||
|
||||
# Once an app name is determined, we know what our project pathing structure should look like
|
||||
|
|
|
|||
Loading…
Reference in a new issue