Skip to content

Commit

Permalink
flips dx11, opengl, and sdl2 on by default now that those are no long…
Browse files Browse the repository at this point in the history
…er experimental. also seperates out the dedicated flag for compilation on windows
  • Loading branch information
Azaezel committed Aug 25, 2016
1 parent 5d38357 commit 714bf1a
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions Tools/CMake/torque3d.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -64,33 +64,30 @@ option(TORQUE_HIFI "HIFI? support" OFF)
mark_as_advanced(TORQUE_HIFI)
option(TORQUE_EXTENDED_MOVE "Extended move support" OFF)
mark_as_advanced(TORQUE_EXTENDED_MOVE)

if(WIN32)
option(TORQUE_SDL "Use SDL for window and input" OFF)
option(TORQUE_SDL "Use SDL for window and input" ON)
else()
set(TORQUE_SDL ON) # we need sdl to work on Linux/Mac
endif()
if(WIN32)
option(TORQUE_OPENGL "Allow OpenGL render" OFF)
#mark_as_advanced(TORQUE_OPENGL)
else()
set(TORQUE_OPENGL ON) # we need OpenGL to render on Linux/Mac
endif()

if(WIN32)
option(TORQUE_OPENGL "Allow OpenGL render" OFF)
option(TORQUE_OPENGL "Allow OpenGL render" ON)
#mark_as_advanced(TORQUE_OPENGL)
else()
set(TORQUE_OPENGL ON) # we need OpenGL to render on Linux/Mac
option(TORQUE_DEDICATED "Torque dedicated" OFF)
endif()

if(WIN32)
option(TORQUE_D3D11 "Allow Direct3D 11 render" OFF)
option(TORQUE_D3D11 "Allow Direct3D 11 render" ON)
endif()

option(TORQUE_EXPERIMENTAL_EC "Experimental Entity/Component systems" OFF)
mark_as_advanced(TORQUE_EXPERIMENTAL_EC)

option(TORQUE_DEDICATED "Torque dedicated" OFF)
mark_as_advanced(TORQUE_DEDICATED)

###############################################################################
# options
###############################################################################
Expand Down

0 comments on commit 714bf1a

Please sign in to comment.