mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
cmake: make it possible to overwrite default settings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40382 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
24dbc20e7d
commit
81701e1dc8
@ -100,7 +100,7 @@ LYX_OPTION(CONCEPT_CHECKS "Enable concept-checks" OFF GCC)
|
|||||||
LYX_OPTION(PROFILE "Build with options for gprof" OFF GCC)
|
LYX_OPTION(PROFILE "Build with options for gprof" OFF GCC)
|
||||||
|
|
||||||
# MSVC specific
|
# MSVC specific
|
||||||
LYX_OPTION(CONSOLE "Show console on Windows" ON MSVC)
|
LYX_OPTION(CONSOLE "Show console on Windows, enforce with =FORCE" ON MSVC)
|
||||||
LYX_OPTION(VLD "Use VLD with MSVC" OFF MSVC)
|
LYX_OPTION(VLD "Use VLD with MSVC" OFF MSVC)
|
||||||
LYX_OPTION(WALL "Enable all warnings" OFF MSVC)
|
LYX_OPTION(WALL "Enable all warnings" OFF MSVC)
|
||||||
LYX_OPTION(CONFIGURE_CHECKS "Also run configure checks for MSVC" OFF MSVC)
|
LYX_OPTION(CONFIGURE_CHECKS "Also run configure checks for MSVC" OFF MSVC)
|
||||||
@ -136,7 +136,11 @@ if(LYX_INSTALL)
|
|||||||
if (WIN32)
|
if (WIN32)
|
||||||
set(LYX_HUNSPELL ON)
|
set(LYX_HUNSPELL ON)
|
||||||
endif()
|
endif()
|
||||||
set(LYX_CONSOLE OFF)
|
if(LYX_CONSOLE MATCHES "FORCE")
|
||||||
|
set(LYX_CONSOLE ON)
|
||||||
|
else()
|
||||||
|
set(LYX_CONSOLE OFF)
|
||||||
|
endif()
|
||||||
set(LYX_PACKAGE_SUFFIX ON)
|
set(LYX_PACKAGE_SUFFIX ON)
|
||||||
set(LYX_RELEASE ON)
|
set(LYX_RELEASE ON)
|
||||||
set(LYX_PROFILE OFF)
|
set(LYX_PROFILE OFF)
|
||||||
|
Loading…
Reference in New Issue
Block a user