add client and tex2lyx support; add support for debug and release builds

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19402 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-08-10 16:55:53 +00:00
parent e105b2bbd7
commit 2cee2b9416
13 changed files with 93 additions and 12 deletions

View File

@ -5,20 +5,20 @@ TEMPLATE = app
DESTDIR = ../bin
TARGET = lyx
TARGET = lyx$${DEBUGSUFFIX}
SOURCES += $${BUILD_BASE_SOURCE_DIR}/src/main.cpp
CONFIG += link_prl
CONFIG += debug_and_release
LIBS += -L../lib -lsrc
LIBS += -lsrc
LIBS += -lmathed
LIBS += -lfrontends
LIBS += -lgraphics
LIBS += -linsets
LIBS += -lcontrollers
LIBS += -lqt4
LIBS += -lsupport
LIBS += -lboost
LIBS += -L../lib
LIBS += -llyxmathed$${DEBUGSUFFIX}
LIBS += -llyxinsets$${DEBUGSUFFIX}
LIBS += -llyxgraphics$${DEBUGSUFFIX}
LIBS += -llyxsupport$${DEBUGSUFFIX}
LIBS += -llyxfrontends$${DEBUGSUFFIX}
LIBS += -llyxcontrollers$${DEBUGSUFFIX}
LIBS += -llyxqt4$${DEBUGSUFFIX}
LIBS += -llyxboost$${DEBUGSUFFIX}
LIBS += -llyxsrc$${DEBUGSUFFIX}

View File

@ -1,6 +1,8 @@
include(../config.pri)
TARGET = lyxboost$${DEBUGSUFFIX}
DEFINES += BOOST_DISABLE_THREADS=1
DEFINES += BOOST_NO_WREGEX=1
DEFINES += BOOST_NO_WSTRING=1

View File

@ -6,6 +6,9 @@ CONFIG += create_prl
DESTDIR = ../lib
CONFIG(release, debug|release) DEBUGSUFFIX =
CONFIG(debug, debug|release) DEBUGSUFFIX = d
BUILD_BASE_SOURCE_DIR = $$[BUILD_BASE_SOURCE_DIR]
BUILD_BASE_TARGET_DIR = $$[BUILD_BASE_TARGET_DIR]

View File

@ -1,6 +1,8 @@
include(../config.pri)
TARGET = lyxcontrollers$${DEBUGSUFFIX}
INC += boost
INC += src

View File

@ -1,6 +1,8 @@
include(../config.pri)
TARGET = lyxfrontends$${DEBUGSUFFIX}
DEFINES += QT_NO_KEYWORDS
INC += boost

View File

@ -1,6 +1,8 @@
include(../config.pri)
TARGET = lyxgraphics$${DEBUGSUFFIX}
QT =
INC += boost

View File

@ -1,7 +1,7 @@
include(../config.pri)
#DEFINES += QT_NO_KEYWORDS
TARGET = lyxinsets$${DEBUGSUFFIX}
QT =

View File

@ -16,3 +16,7 @@ SUBDIRS += qt4/qt4.pro
SUBDIRS += insets/insets.pro
SUBDIRS += app/app.pro
SUBDIRS += tex2lyx/tex2lyx.pro
SUBDIRS += client/client.pro

View File

@ -1,5 +1,8 @@
include(../config.pri)
TARGET = lyxmathed$${DEBUGSUFFIX}
QT =
INC += src

View File

@ -1,6 +1,8 @@
include(../config.pri)
TARGET = lyxqt4$${DEBUGSUFFIX}
DEFINES += QT_NO_KEYWORDS
INC += boost

View File

@ -1,6 +1,8 @@
include(../config.pri)
TARGET = lyxsrc$${DEBUGSUFFIX}
TEMPLATE = lib
QT =

View File

@ -1,6 +1,8 @@
include(../config.pri)
TARGET = lyxsupport$${DEBUGSUFFIX}
QT = core
INC += boost

View File

@ -0,0 +1,57 @@
include(../config.pri)
TEMPLATE = app
TARGET = ../bin/tex2lyx$${DEBUGSUFFIX}
QT =
LIBS += -L../lib
LIBS += -llyxmathed$${DEBUGSUFFIX}
LIBS += -llyxinsets$${DEBUGSUFFIX}
LIBS += -llyxgraphics$${DEBUGSUFFIX}
LIBS += -llyxsupport$${DEBUGSUFFIX}
LIBS += -llyxfrontends$${DEBUGSUFFIX}
LIBS += -llyxcontrollers$${DEBUGSUFFIX}
LIBS += -llyxqt4$${DEBUGSUFFIX}
LIBS += -llyxboost$${DEBUGSUFFIX}
LIBS += -llyxsrc$${DEBUGSUFFIX}
INC += src
INC += boost
HPP += Context.h
HPP += Font.h
HPP += Parser.h
HPP += Spacing.h
HPP += pch.h
HPP += tex2lyx.h
CPP += Context.cpp
CPP += Font.cpp
CPP += Parser.cpp
CPP += boost.cpp
CPP += gettext.cpp
CPP += lengthcommon.cpp
CPP += math.cpp
CPP += preamble.cpp
CPP += table.cpp
CPP += tex2lyx.cpp
CPP += text.cpp
# linked files
HPP += ../Layout.h
HPP += ../TextClass.h
CPP += ../FloatList.cpp
CPP += ../Floating.cpp
CPP += ../Counters.cpp
CPP += ../Layout.cpp
CPP += ../TextClass.cpp
CPP += ../Lexer.cpp
for(FILE,CPP) { SOURCES += $${BUILD_BASE_SOURCE_DIR}/src/tex2lyx/$${FILE} }
for(FILE,HPP) { HEADERS += $${BUILD_BASE_SOURCE_DIR}/src/tex2lyx/$${FILE} }
for(PATH,INC) { INCLUDEPATH += $${BUILD_BASE_SOURCE_DIR}/$${PATH} }