1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
4 # Copyright (c) 2006, Peter Kümmel, <syntheticpp@gmx.net>
12 ${TOP_SRC_DIR}/src/FloatList.C
13 ${TOP_SRC_DIR}/src/Floating.C
14 ${TOP_SRC_DIR}/src/counters.C
15 ${TOP_SRC_DIR}/src/lyxlayout.h
16 ${TOP_SRC_DIR}/src/lyxlayout.C
17 ${TOP_SRC_DIR}/src/lyxtextclass.C
18 ${TOP_SRC_DIR}/src/lyxtextclass.h
19 ${TOP_SRC_DIR}/src/lyxlex.C
20 ${TOP_SRC_DIR}/src/lyxlex_pimpl.C
24 ${TOP_SRC_DIR}/src/tex2lyx/Spacing.h
25 ${TOP_SRC_DIR}/src/tex2lyx/boost.C
26 ${TOP_SRC_DIR}/src/tex2lyx/context.C
27 ${TOP_SRC_DIR}/src/tex2lyx/
28 ${TOP_SRC_DIR}/src/tex2lyx/context.h
29 ${TOP_SRC_DIR}/src/tex2lyx/gettext.C
30 ${TOP_SRC_DIR}/src/tex2lyx/lengthcommon.C
31 ${TOP_SRC_DIR}/src/tex2lyx/lyxfont.C
32 ${TOP_SRC_DIR}/src/tex2lyx/lyxfont.h
33 ${TOP_SRC_DIR}/src/tex2lyx/texparser.C
34 ${TOP_SRC_DIR}/src/tex2lyx/texparser.h
35 ${TOP_SRC_DIR}/src/tex2lyx/tex2lyx.C
36 ${TOP_SRC_DIR}/src/tex2lyx/tex2lyx.h
37 ${TOP_SRC_DIR}/src/tex2lyx/preamble.C
38 ${TOP_SRC_DIR}/src/tex2lyx/math.C
39 ${TOP_SRC_DIR}/src/tex2lyx/table.C
40 ${TOP_SRC_DIR}/src/tex2lyx/text.C
43 include_directories(BEFORE ${TOP_SRC_DIR}/src/tex2lyx)
46 SET_SOURCE_FILES_PROPERTIES(${TOP_SRC_DIR}/src/lyxlayout.C ${TOP_SRC_DIR}/src/lyxtextclass.C
47 PROPERTIES COMPILE_FLAGS
48 "/FI${TOP_SRC_DIR}/src/tex2lyx/lyxfont.h /FI${TOP_SRC_DIR}/src/tex2lyx/Spacing.h")
50 SET_SOURCE_FILES_PROPERTIES(${TOP_SRC_DIR}/src/lyxlayout.C ${TOP_SRC_DIR}/src/lyxtextclass.C
51 PROPERTIES COMPILE_FLAGS
52 "-include ${TOP_SRC_DIR}/src/tex2lyx/lyxfont.h -include ${TOP_SRC_DIR}/src/tex2lyx/Spacing.h")
55 add_executable(tex2lyx ${tex2lyx_sources} ${LINKED_FILES})
57 target_link_libraries(tex2lyx
67 target_link_libraries(tex2lyx shlwapi)
71 target_link_libraries(tex2lyx "-framework Carbon")
74 project_source_group("${GROUP_CODE}" tex2lyx_sources tex2lyx_headers)