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>
10 ${TOP_SRC_DIR}/src/insets/InsetLayout.cpp
11 ${TOP_SRC_DIR}/src/FloatList.cpp
12 ${TOP_SRC_DIR}/src/Floating.cpp
13 ${TOP_SRC_DIR}/src/Counters.cpp
14 ${TOP_SRC_DIR}/src/Layout.cpp
15 ${TOP_SRC_DIR}/src/TextClass.cpp
16 ${TOP_SRC_DIR}/src/Lexer.cpp
17 ${TOP_SRC_DIR}/src/lengthcommon.cpp
18 ${TOP_SRC_DIR}/src/Color.cpp)
21 ${TOP_SRC_DIR}/src/Layout.h
22 ${TOP_SRC_DIR}/src/TextClass.h)
25 ${TOP_SRC_DIR}/src/tex2lyx/boost.cpp
26 ${TOP_SRC_DIR}/src/tex2lyx/Context.cpp
27 ${TOP_SRC_DIR}/src/tex2lyx/Font.cpp
28 ${TOP_SRC_DIR}/src/tex2lyx/gettext.cpp
29 ${TOP_SRC_DIR}/src/tex2lyx/Parser.cpp
30 ${TOP_SRC_DIR}/src/tex2lyx/tex2lyx.cpp
31 ${TOP_SRC_DIR}/src/tex2lyx/preamble.cpp
32 ${TOP_SRC_DIR}/src/tex2lyx/math.cpp
33 ${TOP_SRC_DIR}/src/tex2lyx/table.cpp
34 ${TOP_SRC_DIR}/src/tex2lyx/text.cpp)
37 ${TOP_SRC_DIR}/src/tex2lyx/Spacing.h
38 ${TOP_SRC_DIR}/src/tex2lyx/Context.h
39 ${TOP_SRC_DIR}/src/tex2lyx/Font.h
40 ${TOP_SRC_DIR}/src/tex2lyx/Parser.h
41 ${TOP_SRC_DIR}/src/tex2lyx/tex2lyx.h)
43 include_directories(BEFORE ${TOP_SRC_DIR}/src/tex2lyx
44 ${TOP_SRC_DIR}/src/support/minizip ${ZLIB_INCLUDE_DIR})
46 add_definitions(-DTEX2LYX)
49 add_executable(tex2lyx ${tex2lyx_sources} ${LINKED_sources}
50 ${tex2lyx_headers} ${LINKED_headers})
52 lyx_const_touched_files(_allinone tex2lyx_sources)
53 lyx_const_touched_files(_allinone_linked LINKED_sources)
54 add_executable(tex2lyx ${_allinone_files} ${_allinone_linked_files})
58 target_link_libraries(tex2lyx
65 target_link_libraries(tex2lyx shlwapi)
69 target_link_libraries(tex2lyx "-framework Carbon")
72 project_source_group("${GROUP_CODE}" tex2lyx_sources tex2lyx_headers)