mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Add DEVEL_VERSION to cmake.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36952 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
121fdba366
commit
aa0aae25f2
@ -57,6 +57,7 @@ LYX_OPTION(ASPELL "Require aspell" OFF ALL)
|
||||
LYX_OPTION(ENCHANT "Require Enchant" OFF ALL)
|
||||
LYX_OPTION(HUNSPELL "Require Hunspell" OFF ALL)
|
||||
LYX_OPTION(DEBUG "Build debug version" OFF ALL)
|
||||
LYX_OPTION(DEVEL_VERSION "Build developer version" OFF ALL)
|
||||
LYX_OPTION(RELEASE "Build release version" ON ALL)
|
||||
LYX_OPTION(PROFILE "Build profile version" OFF GCC)
|
||||
LYX_OPTION(USE_EXTERNAL_BOOST "Use external boost" OFF GCC)
|
||||
|
@ -72,6 +72,9 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}
|
||||
|
||||
lyx_add_msvc_pch(lyx)
|
||||
|
||||
if (LYX_DEVEL_VERSION)
|
||||
add_definitions(-DDEVEL_VERSION)
|
||||
endif()
|
||||
|
||||
if (LYX_MERGE_FILES)
|
||||
if(dont_merge)
|
||||
|
@ -38,6 +38,10 @@ include_directories(
|
||||
${QT_INCLUDES}
|
||||
${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
if (LYX_DEVEL_VERSION)
|
||||
add_definitions(-DDEVEL_VERSION)
|
||||
endif()
|
||||
|
||||
if(LYX_MERGE_FILES)
|
||||
lyx_const_touched_files(_allinone frontends_qt4_sources)
|
||||
set(depends_moc_uic ${frontends_qt4_headers} ${ui_files})
|
||||
|
Loading…
Reference in New Issue
Block a user