mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-26 01:53:47 +00:00
Merge pull request #1692 from rextimmy/cmake_vs_startup
CMake support for VS_STARTUP_PROJECT
This commit is contained in:
commit
0010a7c654
1 changed files with 5 additions and 0 deletions
|
|
@ -554,6 +554,11 @@ finishExecutable()
|
|||
###############################################################################
|
||||
###############################################################################
|
||||
|
||||
# Set Visual Studio startup project
|
||||
if((${CMAKE_VERSION} VERSION_EQUAL 3.6.0) OR (${CMAKE_VERSION} VERSION_GREATER 3.6.0) AND MSVC)
|
||||
set_property(DIRECTORY ${CMAKE_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${TORQUE_APP_NAME})
|
||||
endif()
|
||||
|
||||
message(STATUS "writing ${projectSrcDir}/torqueConfig.h")
|
||||
CONFIGURE_FILE("${cmakeDir}/torqueConfig.h.in" "${projectSrcDir}/torqueConfig.h")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue