mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
adjust tex2lyx cmake build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19740 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ef521debc2
commit
87a901784c
@ -43,15 +43,7 @@ set(tex2lyx_headers
|
|||||||
|
|
||||||
include_directories(BEFORE ${TOP_SRC_DIR}/src/tex2lyx)
|
include_directories(BEFORE ${TOP_SRC_DIR}/src/tex2lyx)
|
||||||
|
|
||||||
if(MSVC)
|
add_definitions(-DTEX2LYX)
|
||||||
SET_SOURCE_FILES_PROPERTIES(${tex2lyx_sources} ${LINKED_FILES}
|
|
||||||
PROPERTIES COMPILE_FLAGS
|
|
||||||
"/DFONT_H /FI${TOP_SRC_DIR}/src/tex2lyx/Font.h /FI${TOP_SRC_DIR}/src/tex2lyx/Spacing.h")
|
|
||||||
else(MSVC)
|
|
||||||
SET_SOURCE_FILES_PROPERTIES(${tex2lyx_sources} ${LINKED_FILES}
|
|
||||||
PROPERTIES COMPILE_FLAGS
|
|
||||||
"-DFONT_H -include ${TOP_SRC_DIR}/src/tex2lyx/Font.h -include ${TOP_SRC_DIR}/src/tex2lyx/Spacing.h")
|
|
||||||
endif(MSVC)
|
|
||||||
|
|
||||||
#TODO
|
#TODO
|
||||||
#if(NOT MERGE_FILES)
|
#if(NOT MERGE_FILES)
|
||||||
|
Loading…
Reference in New Issue
Block a user