]> git.lyx.org Git - features.git/commitdiff
fix linker error (dummy functions for tex2lyx)
authorPeter Kümmel <syntheticpp@gmx.net>
Sat, 27 Jan 2007 20:48:37 +0000 (20:48 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Sat, 27 Jan 2007 20:48:37 +0000 (20:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16894 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/src/tex2lyx/CMakeLists.txt

index 5731d516841b99c2fc70070718e3c9e3398b6f83..d7c5de6d42fabec6e024663bedb6b9f24939b99f 100644 (file)
@@ -42,6 +42,15 @@ set(tex2lyx_sources
 
 include_directories(BEFORE ${TOP_SRC_DIR}/src/tex2lyx)
 
+if(MSVC)
+       SET_SOURCE_FILES_PROPERTIES(${TOP_SRC_DIR}/src/lyxlayout.C ${TOP_SRC_DIR}/src/lyxtextclass.C
+               PROPERTIES COMPILE_FLAGS 
+               "/FI${TOP_SRC_DIR}/src/tex2lyx/lyxfont.h /FI${TOP_SRC_DIR}/src/tex2lyx/Spacing.h")
+else(MSVC)
+       SET_SOURCE_FILES_PROPERTIES(${TOP_SRC_DIR}/src/lyxlayout.C ${TOP_SRC_DIR}/src/lyxtextclass.C
+               PROPERTIES COMPILE_FLAGS 
+               "-include ${TOP_SRC_DIR}/src/tex2lyx/lyxfont.h -include ${TOP_SRC_DIR}/src/tex2lyx/Spacing.h")
+endif(MSVC)
 
 add_executable(tex2lyx ${tex2lyx_sources} ${LINKED_FILES})