- mathed: remove InsetMathMox.C fro the build process
- config: enable assertions by default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15396
a592a061-630c-0410-9148-
cb99ea01b6c8
#TODO
set(VERSION_INFO "CMake Build")
+#TODO: add command line option
+# enable by default because the cmake
+# build is mostly used for development
+set(ENABLE_ASSERTIONS 1)
+
if(WIN32)
set(USE_WINDOWS_PACKAGING 1)
else(WIN32)
#endif
+
+#cmakedefine ENABLE_ASSERTIONS 1
+
#if !defined(ENABLE_ASSERTIONS)
# define BOOST_DISABLE_ASSERTS 1
#endif
list(REMOVE_ITEM mathed_sources
${TOP_SRC_DIR}/src/mathed/InsetMathXYArrow.C
- ${TOP_SRC_DIR}/src/mathed/InsetMathMbox.C
+ ${TOP_SRC_DIR}/src/mathed/InsetMathMBox.C
${TOP_SRC_DIR}/src/mathed/InsetFormulaMacro.C)
include_directories(${TOP_SRC_DIR}/src/mathed)