mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
c985dce850
commit
3459b8d89d
@ -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)
|
||||
|
@ -136,6 +136,9 @@
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#cmakedefine ENABLE_ASSERTIONS 1
|
||||
|
||||
#if !defined(ENABLE_ASSERTIONS)
|
||||
# define BOOST_DISABLE_ASSERTS 1
|
||||
#endif
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user