mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-25 12:41:33 +00:00
Merge remote-tracking branch 'slothlife/cmake-release-build-fix'
This commit is contained in:
commit
6cc9fa2b3f
3 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,12 @@
|
||||||
project(OpenMW)
|
project(OpenMW)
|
||||||
|
|
||||||
|
# If the user doesn't supply a CMAKE_BUILD_TYPE via command line, choose one for them.
|
||||||
|
IF(NOT CMAKE_BUILD_TYPE)
|
||||||
|
SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
|
||||||
|
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel."
|
||||||
|
FORCE)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
set(APP_BUNDLE_NAME "${CMAKE_PROJECT_NAME}.app")
|
set(APP_BUNDLE_NAME "${CMAKE_PROJECT_NAME}.app")
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,6 @@ set (OPENCS_SRC main.cpp
|
||||||
|
|
||||||
opencs_units (. editor)
|
opencs_units (. editor)
|
||||||
|
|
||||||
set (CMAKE_BUILD_TYPE DEBUG)
|
|
||||||
|
|
||||||
opencs_units (model/doc
|
opencs_units (model/doc
|
||||||
document operation saving documentmanager loader runner
|
document operation saving documentmanager loader runner
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
project (Components)
|
project (Components)
|
||||||
set (CMAKE_BUILD_TYPE DEBUG)
|
|
||||||
|
|
||||||
# Version file
|
# Version file
|
||||||
set (VERSION_HPP_IN ${CMAKE_CURRENT_SOURCE_DIR}/version/version.hpp.cmake)
|
set (VERSION_HPP_IN ${CMAKE_CURRENT_SOURCE_DIR}/version/version.hpp.cmake)
|
||||||
|
|
Loading…
Reference in a new issue