mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
CMake: Improve to support build type. Default to release.
This commit is contained in:
parent
ab7a45aede
commit
6b148d1d4c
4 changed files with 24 additions and 18 deletions
|
@ -2,5 +2,14 @@ cmake_minimum_required(VERSION 2.8)
|
|||
|
||||
set(ASMJIT_STATIC TRUE)
|
||||
|
||||
if (NOT CMAKE_BUILD_TYPE)
|
||||
message(STATUS "No build type selected, default to Release")
|
||||
set(CMAKE_BUILD_TYPE "Release")
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
message( FATAL_ERROR "RPCS3 can only be compiled on 64-bit platforms." )
|
||||
endif()
|
||||
|
||||
add_subdirectory( asmjit )
|
||||
add_subdirectory( rpcs3 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue