cmake files:

- 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
This commit is contained in:
Peter Kümmel 2006-10-20 10:38:33 +00:00
parent c985dce850
commit 3459b8d89d
3 changed files with 9 additions and 1 deletions

View File

@ -15,6 +15,11 @@ set(LYX_DATE "not released yet")
#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)

View File

@ -136,6 +136,9 @@
#endif
#cmakedefine ENABLE_ASSERTIONS 1
#if !defined(ENABLE_ASSERTIONS)
# define BOOST_DISABLE_ASSERTS 1
#endif

View File

@ -11,7 +11,7 @@ file(GLOB mathed_headers ${TOP_SRC_DIR}/src/mathed/*.h)
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)