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)
lyx_add_msvc_pch(lyx)
+if (LYX_DEVEL_VERSION)
+ add_definitions(-DDEVEL_VERSION)
+endif()
if (LYX_MERGE_FILES)
if(dont_merge)
${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})