Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
f06d166a
Commit
f06d166a
authored
Aug 09, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use base.pri
parent
4d528b2f
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
207 additions
and
990 deletions
+207
-990
ASCOfficeDocFile/DocFormatLib/Linux/DocFormatLib.pro
ASCOfficeDocFile/DocFormatLib/Linux/DocFormatLib.pro
+9
-73
ASCOfficeDocxFile2/Linux/ASCOfficeDocxFile2Lib.pro
ASCOfficeDocxFile2/Linux/ASCOfficeDocxFile2Lib.pro
+6
-80
ASCOfficeOdfFile/linux/OdfFileReaderLib.pro
ASCOfficeOdfFile/linux/OdfFileReaderLib.pro
+9
-74
ASCOfficeOdfFileW/linux/OdfFileWriterLib.pro
ASCOfficeOdfFileW/linux/OdfFileWriterLib.pro
+9
-76
ASCOfficePPTFile/PPTFormatLib/Linux/PPTFormatLib.pro
ASCOfficePPTFile/PPTFormatLib/Linux/PPTFormatLib.pro
+13
-76
ASCOfficePPTXFile/PPTXLib/Linux/PPTXFormatLib/PPTXFormatLib.pro
...icePPTXFile/PPTXLib/Linux/PPTXFormatLib/PPTXFormatLib.pro
+16
-78
ASCOfficeRtfFile/RtfFormatLib/Linux/RtfFormatLib.pro
ASCOfficeRtfFile/RtfFormatLib/Linux/RtfFormatLib.pro
+9
-73
ASCOfficeTxtFile/TxtXmlFormatLib/Linux/TxtXmlFormatLib.pro
ASCOfficeTxtFile/TxtXmlFormatLib/Linux/TxtXmlFormatLib.pro
+8
-78
ASCOfficeXlsFile2/source/linux/XlsFormatLib.pro
ASCOfficeXlsFile2/source/linux/XlsFormatLib.pro
+12
-73
Common/3dParty/boost/boost.pri
Common/3dParty/boost/boost.pri
+15
-0
Common/3dParty/boost/build.bat
Common/3dParty/boost/build.bat
+6
-6
Common/3dParty/boost/build.sh
Common/3dParty/boost/build.sh
+1
-1
Common/3dParty/cryptopp/project/cryptopp.pro
Common/3dParty/cryptopp/project/cryptopp.pro
+6
-38
Common/3dParty/icu/icu.pri
Common/3dParty/icu/icu.pri
+0
-7
Common/DocxFormat/DocxFormatLib/DocxFormatLib.pro
Common/DocxFormat/DocxFormatLib/DocxFormatLib.pro
+6
-77
Common/base.pri
Common/base.pri
+12
-0
X2tConverter/build/Qt/X2tConverter.pro
X2tConverter/build/Qt/X2tConverter.pro
+61
-141
X2tConverter/build/Qt/X2tSLN.pro
X2tConverter/build/Qt/X2tSLN.pro
+9
-39
No files found.
ASCOfficeDocFile/DocFormatLib/Linux/DocFormatLib.pro
View file @
f06d166a
...
...
@@ -10,44 +10,14 @@ TARGET = DocFormatLib
TEMPLATE
=
lib
CONFIG
+=
staticlib
CONFIG
+=
c
++
11
CORE_ROOT_DIR
=
$$
PWD
/../../..
PWD_ROOT_DIR
=
$$
PWD
win32
{
QMAKE_CXXFLAGS_RELEASE
-=
-
Zc
:
strictStrings
QMAKE_CXXFLAGS
+=
/
bigobj
}
else
{
QMAKE_CXXFLAGS
+=
-
std
=
c
++
11
-
Wall
-
Wno
-
ignored
-
qualifiers
}
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../../
build
/
lib
#
WINDOWS
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
CONFIG
+=
core_x2t
include
(..
/../../
Common
/
base
.
pri
)
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_64
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_32
}
mac
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
mac_64
}
###############
destination
path
###############
#
BOOST
include
(
$$
PWD
/../../../
Common
/
3
dParty
/
boost
/
boost
.
pri
)
DEFINES
+=
UNICODE
\
_UNICODE
\
...
...
@@ -57,38 +27,11 @@ DEFINES += UNICODE \
_USE_LIBXML2_READER_
\
LIBXML_READER_ENABLED
####################
WINDOWS
#####################
win32
{
DEFINES
+=
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
}
####################
WINDOWS
#####################
####################
LINUX
########################
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
INCLUDEPATH
+=
/
usr
/
include
/
libxml2
}
mac
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
\
_MAC
\
MAC
INCLUDEPATH
+=
..
/../../
DesktopEditor
/
xml
/
libxml2
/
include
QMAKE_MAC_SDK
=
macosx10
.
11
core_mac
{
QMAKE_MAC_SDK
=
macosx10
.
11
}
####################
LINUX
########################
SOURCES
+=
\
..
/
DocFormatLib
.
cpp
\
...
...
@@ -333,10 +276,3 @@ HEADERS += \
..
/../../
Common
/
3
dParty
/
pole
/
pole
.
h
\
..
/../
DocDocxConverter
/
EncryptionHeader
.
h
\
..
/../
DocDocxConverter
/
DrawingPrimitives
.
h
unix
{
target
.
path
=
/
usr
/
lib
INSTALLS
+=
target
}
ASCOfficeDocxFile2/Linux/ASCOfficeDocxFile2Lib.pro
View file @
f06d166a
#-------------------------------------------------
#
#
Project
created
by
QtCreator
2014
-
10
-
10
T14
:
24
:
04
#
#-------------------------------------------------
QT
-=
core
gui
TARGET
=
ASCOfficeDocxFile2Lib
TEMPLATE
=
lib
CONFIG
+=
staticlib
CONFIG
+=
c
++
11
win32
{
QMAKE_CXXFLAGS_RELEASE
-=
-
Zc
:
strictStrings
CONFIG
(
debug
,
debug
|
release
)
{
QMAKE_CXXFLAGS
+=
/
bigobj
}
}
else
{
QMAKE_CXXFLAGS
+=
-
std
=
c
++
11
-
Wall
-
Wno
-
ignored
-
qualifiers
}
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../
build
/
lib
CORE_ROOT_DIR
=
$$
PWD
/../..
PWD_ROOT_DIR
=
$$
PWD
#
WINDOWS
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_64
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_32
}
mac
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
mac_64
}
###############
destination
path
###############
CONFIG
+=
core_x2t
include
(..
/../
Common
/
base
.
pri
)
DEFINES
+=
UNICODE
\
_UNICODE
\
...
...
@@ -65,35 +23,9 @@ DEFINES += UNICODE \
LIBXML_READER_ENABLED
INCLUDEPATH
+=
\
..
/../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
####################
WINDOWS
#####################
win32
{
INCLUDEPATH
+=
..
/../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
}
####################
WINDOWS
#####################
..
/../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
\
..
/../
DesktopEditor
/
xml
/
libxml2
/
include
\
####################
LINUX
########################
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
INCLUDEPATH
+=
/
usr
/
include
/
libxml2
}
mac
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
\
_MAC
\
MAC
INCLUDEPATH
+=
..
/../
DesktopEditor
/
xml
/
libxml2
/
include
}
####################
LINUX
########################
SOURCES
+=
..
/
DocWrapper
/
DocxSerializer
.
cpp
\
..
/
DocWrapper
/
FontProcessor
.
cpp
\
...
...
@@ -142,9 +74,3 @@ HEADERS += ../DocWrapper/DocxSerializer.h \
..
/
DocWrapper
/
ChartWriter
.
h
\
..
/../
OfficeCryptReader
/
source
/
ECMACryptReader
.
h
\
..
/../
OfficeCryptReader
/
source
/
CryptTransform
.
h
unix
{
target
.
path
=
/
usr
/
lib
INSTALLS
+=
target
}
ASCOfficeOdfFile/linux/OdfFileReaderLib.pro
View file @
f06d166a
...
...
@@ -10,90 +10,29 @@ TARGET = OdfFileReaderLib
TEMPLATE
=
lib
CONFIG
+=
staticlib
CONFIG
+=
c
++
11
CORE_ROOT_DIR
=
$$
PWD
/../..
PWD_ROOT_DIR
=
$$
PWD
win32
{
QMAKE_CXXFLAGS_RELEASE
-=
-
Zc
:
strictStrings
QMAKE_CXXFLAGS
+=
/
bigobj
}
else
{
QMAKE_CXXFLAGS
+=
-
std
=
c
++
11
-
Wall
-
Wno
-
ignored
-
qualifiers
}
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../
build
/
lib
#
WINDOWS
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_64
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_32
}
CONFIG
+=
core_x2t
include
(..
/../
Common
/
base
.
pri
)
mac
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
mac_64
}
###############
destination
path
###############
#
BOOST
include
(
$$
PWD
/../../
Common
/
3
dParty
/
boost
/
boost
.
pri
)
DEFINES
+=
UNICODE
\
_UNICODE
\
_USE_LIBXML2_READER_
\
_USE_XMLLITE_READER_
\
USE_LITE_READER
USE_LITE_READER
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/
include
INCLUDEPATH
+=
..
/../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
INCLUDEPATH
+=
..
/../
DesktopEditor
/
xml
/
libxml2
/
include
CONFIG
(
debug
,
debug
|
release
){
DEFINES
+=
_DEBUG
}
####################
WINDOWS
#####################
win32
{
DEFINES
+=
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
INCLUDEPATH
+=
C
:/
boost_1_58_0
}
####################
WINDOWS
#####################
####################
LINUX
########################
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
INCLUDEPATH
+=
/
usr
/
include
/
libxml2
}
mac
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
\
_MAC
\
MAC
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
INCLUDEPATH
+=
..
/../
Common
/
boost_1_58_0
}
####################
LINUX
########################
build_fast
{
SOURCES
+=
\
...
...
@@ -627,7 +566,3 @@ HEADERS += \
..
/
src
/
odf
/
table_database_ranges
.
h
\
..
/
src
/
docx
/
xlsx_conditionalFormatting
.
h
\
..
/
src
/
docx
/
xlsx_dxfs
.
h
unix
{
target
.
path
=
/
usr
/
lib
INSTALLS
+=
target
}
ASCOfficeOdfFileW/linux/OdfFileWriterLib.pro
View file @
f06d166a
...
...
@@ -10,88 +10,26 @@ TARGET = OdfFileWriterLib
TEMPLATE
=
lib
CONFIG
+=
staticlib
CONFIG
+=
c
++
11
CORE_ROOT_DIR
=
$$
PWD
/../..
PWD_ROOT_DIR
=
$$
PWD
win32
{
QMAKE_CXXFLAGS_RELEASE
-=
-
Zc
:
strictStrings
QMAKE_CXXFLAGS
+=
/
bigobj
}
else
{
QMAKE_CXXFLAGS
+=
-
std
=
c
++
11
-
Wall
-
Wno
-
ignored
-
qualifiers
}
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../
build
/
lib
#
WINDOWS
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_64
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_32
}
CONFIG
+=
core_x2t
include
(..
/../
Common
/
base
.
pri
)
mac
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
mac_64
}
###############
destination
path
###############
#
BOOST
include
(
$$
PWD
/../../
Common
/
3
dParty
/
boost
/
boost
.
pri
)
DEFINES
+=
UNICODE
\
_UNICODE
\
_USE_LIBXML2_READER_
\
_USE_XMLLITE_READER_
\
USE_LITE_READER
USE_LITE_READER
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
INCLUDEPATH
+=
..
/../
ASCOfficeOdfFile
/
include
INCLUDEPATH
+=
..
/../
ASCOfficeOdfFile
/
src
/
odf
/
datatypes
####################
WINDOWS
#####################
win32
{
DEFINES
+=
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
INCLUDEPATH
+=
C
:/
boost_1_58_0
}
####################
WINDOWS
#####################
####################
LINUX
########################
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
INCLUDEPATH
+=
/
usr
/
include
/
libxml2
}
mac
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
\
_MAC
\
MAC
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
INCLUDEPATH
+=
..
/../
Common
/
boost_1_58_0
}
####################
LINUX
########################
INCLUDEPATH
+=
..
/../
DesktopEditor
/
xml
/
libxml2
/
include
CONFIG
(
debug
,
debug
|
release
){
DEFINES
+=
_DEBUG
...
...
@@ -246,11 +184,6 @@ HEADERS += \
..
/
source
/
OdfFormat
/
odf_settings_context
.
h
\
..
/
source
/
OdfFormat
/
office_settings
.
h
unix
{
target
.
path
=
/
usr
/
lib
INSTALLS
+=
target
}
SOURCES
+=
\
..
/
source
/
OdfFormat
/
odf_settings_context
.
cpp
\
..
/
source
/
OdfFormat
/
office_settings
.
cpp
ASCOfficePPTFile/PPTFormatLib/Linux/PPTFormatLib.pro
View file @
f06d166a
...
...
@@ -10,46 +10,15 @@ TARGET = PptFormatLib
TEMPLATE
=
lib
CONFIG
+=
staticlib
CONFIG
+=
c
++
11
CORE_ROOT_DIR
=
$$
PWD
/../../..
PWD_ROOT_DIR
=
$$
PWD
win32
{
QMAKE_CXXFLAGS_RELEASE
-=
-
Zc
:
strictStrings
CONFIG
(
debug
,
debug
|
release
)
{
QMAKE_CXXFLAGS
+=
/
bigobj
}
}
else
{
QMAKE_CXXFLAGS
+=
-
std
=
c
++
11
-
Wall
-
Wno
-
ignored
-
qualifiers
}
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../../
build
/
lib
CONFIG
+=
core_x2t
include
(..
/../../
Common
/
base
.
pri
)
#
WINDOWS
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_64
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_32
}
#
BOOST
include
(
$$
PWD
/../../../
Common
/
3
dParty
/
boost
/
boost
.
pri
)
mac
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
mac_64
}
###############
destination
path
###############
DEFINES
+=
UNICODE
\
_UNICODE
\
USE_ATL_CSTRING
\
...
...
@@ -68,43 +37,11 @@ DEFINES += UNICODE \
INCLUDEPATH
+=
\
..
/../../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
####################
WINDOWS
#####################
win32
{
DEFINES
+=
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../../
OfficeUtils
/
src
/
zlib
-
1.2
.
3
INCLUDEPATH
+=
..
/../../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
}
####################
WINDOWS
#####################
####################
LINUX
########################
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
INCLUDEPATH
+=
/
usr
/
include
/
libxml2
}
mac
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
\
_MAC
\
MAC
INCLUDEPATH
+=
..
/../../
DesktopEditor
/
xml
/
libxml2
/
include
}
####################
LINUX
########################
..
/../../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
\
..
/../../
DesktopEditor
/
xml
/
libxml2
/
include
unix
{
target
.
path
=
/
usr
/
lib
INSTALLS
+=
target
core_windows
{
INCLUDEPATH
+=
..
/../../
OfficeUtils
/
src
/
zlib
-
1.2
.
3
}
HEADERS
+=
\
...
...
@@ -255,15 +192,15 @@ SOURCES += \
SOURCES
+=
\
..
/../../
Common
/
3
dParty
/
pole
/
pole
.
cpp
win32
{
core_windows
{
SOURCES
+=
\
..
/../../
Common
/
FileDownloader
/
FileDownloader_win
.
cpp
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
core_linux
{
SOURCES
+=
\
..
/../../
Common
/
FileDownloader
/
FileDownloader_curl
.
cpp
}
mac
{
core_
mac
{
OBJECTIVE_SOURCES
+=
\
..
/../../
Common
/
FileDownloader
/
FileDownloader_mac
.
mm
}
...
...
ASCOfficePPTXFile/PPTXLib/Linux/PPTXFormatLib/PPTXFormatLib.pro
View file @
f06d166a
...
...
@@ -10,48 +10,18 @@ TARGET = PPTXFormatLib
TEMPLATE
=
lib
CONFIG
+=
staticlib
CONFIG
+=
c
++
11
win32
{
#
todo
accentbordercallout90type
,
вернуть
inline
оптимизацию
Ob2
QMAKE_CXXFLAGS_RELEASE
+=
-
Ob0
QMAKE_CXXFLAGS_RELEASE
-=
-
Zc
:
strictStrings
CONFIG
(
debug
,
debug
|
release
)
{
QMAKE_CXXFLAGS
+=
/
bigobj
}
}
else
{
QMAKE_CXXFLAGS
+=
-
std
=
c
++
11
-
Wall
-
Wno
-
ignored
-
qualifiers
}
CORE_ROOT_DIR
=
$$
PWD
/../../../..
PWD_ROOT_DIR
=
$$
PWD
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../../../
build
/
lib
CONFIG
+=
core_x2t
include
(..
/../../../
Common
/
base
.
pri
)
#
WINDOWS
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_64
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_32
core_windows
{
QMAKE_CXXFLAGS_RELEASE
+=
-
Ob0
}
mac
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
mac_64
}
###############
destination
path
###############
#
BOOST
include
(
$$
PWD
/../../../../
Common
/
3
dParty
/
boost
/
boost
.
pri
)
DEFINES
+=
UNICODE
\
_UNICODE
\
...
...
@@ -67,46 +37,19 @@ DEFINES += UNICODE \
CXIMAGE_DONT_DECLARE_TCHAR
\
BUILD_CONFIG_FULL_VERSION
\
DONT_WRITE_EMBEDDED_FONTS
\
CXIMAGE_DONT_DECLARE_TCHAR
####################
WINDOWS
#####################
win32
{
DEFINES
+=
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../../../
OfficeUtils
/
src
/
zlib
-
1.2
.
3
INCLUDEPATH
+=
..
/../../../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
}
####################
WINDOWS
#####################
####################
LINUX
########################
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
/
usr
/
include
/
libxml2
/
libxml
}
CXIMAGE_DONT_DECLARE_TCHAR
\
LIBXML_READER_ENABLED
mac
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
\
LIBXML_READER_ENABLED
\
_MAC
\
MAC
core_windows
{
INCLUDEPATH
+=
..
/../../../
OfficeUtils
/
src
/
zlib
-
1.2
.
3
}
####################
LINUX
########################
INCLUDEPATH
+=
\
..
/../../../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
\
..
/../../../
Common
/
ASCDocxFormat
/
Source
/
Utility
\
..
/../../../
Common
/
ASCDocxFormat
/
Source
/
XML
\
..
/../../../
Common
/
ASCDocxFormat
/
Source
\
..
/../../../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
..
/../../../
DesktopEditor
/
xml
/
libxml2
/
include
SOURCES
+=
pptxformatlib
.
cpp
...
...
@@ -597,20 +540,15 @@ HEADERS += pptxformatlib.h \
..
/../../
PPTXFormat
/
ShowPr
/
SldAll
.
h
\
..
/../../
PPTXFormat
/
ShowPr
/
SldRg
.
h
win32
{
core_windows
{
SOURCES
+=
\
..
/../../../
Common
/
FileDownloader
/
FileDownloader_win
.
cpp
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
core_linux
{
SOURCES
+=
\
..
/../../../
Common
/
FileDownloader
/
FileDownloader_curl
.
cpp
}
mac
{
core_
mac
{
OBJECTIVE_SOURCES
+=
\
..
/../../../
Common
/
FileDownloader
/
FileDownloader_mac
.
mm
}
unix
{
target
.
path
=
/
usr
/
lib
INSTALLS
+=
target
}
ASCOfficeRtfFile/RtfFormatLib/Linux/RtfFormatLib.pro
View file @
f06d166a
...
...
@@ -10,85 +10,25 @@ TARGET = RtfFormatLib
TEMPLATE
=
lib
CONFIG
+=
staticlib
CONFIG
+=
c
++
11
CORE_ROOT_DIR
=
$$
PWD
/../../..
PWD_ROOT_DIR
=
$$
PWD
win32
{
QMAKE_CXXFLAGS_RELEASE
-=
-
Zc
:
strictStrings
CONFIG
(
debug
,
debug
|
release
)
{
QMAKE_CXXFLAGS
+=
/
bigobj
}
}
else
{
QMAKE_CXXFLAGS
+=
-
std
=
c
++
11
-
Wall
-
Wno
-
ignored
-
qualifiers
}
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../../
build
/
lib
#
WINDOWS
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_64
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_32
}
CONFIG
+=
core_x2t
include
(..
/../../
Common
/
base
.
pri
)
mac
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
mac_64
}
###############
destination
path
###############
DEFINES
+=
UNICODE
_UNICODE
_USE_LIBXML2_READER_
_USE_XMLLITE_READER_
USE_LITE_READER
####################
WINDOWS
#####################
win32
{
DEFINES
+=
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
INCLUDEPATH
+=
C
:/
boost_1_58_0
}
####################
WINDOWS
#####################
#
BOOST
include
(
$$
PWD
/../../../
Common
/
3
dParty
/
boost
/
boost
.
pri
)
####################
LINUX
########################
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
INCLUDEPATH
+=
/
usr
/
include
/
libxml2
}
DEFINES
+=
UNICODE
_UNICODE
_USE_LIBXML2_READER_
_USE_XMLLITE_READER_
USE_LITE_READER
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../../
DesktopEditor
/
xml
/
libxml2
/
include
mac
{
core_
mac
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
\
_MAC
\
MAC
\
LIBXML_READER_ENABLED
\
_ASC_USE_UNICODE_CONVERTER_
\
UNICODECONVERTER_USE_DYNAMIC_LIBRARY
INCLUDEPATH
+=
..
/../../
DesktopEditor
/
xml
/
libxml2
/
include
INCLUDEPATH
+=
..
/../../
Common
/
boost_1_58_0
LIBS
+=
$$
DESTDIR
-
lUnicodeConverter
}
####################
LINUX
########################
build_fast
{
SOURCES
+=
\
...
...
@@ -209,10 +149,6 @@ HEADERS += \
..
/
source
/
Writer
/
OOXThemeWriter
.
h
\
..
/
source
/
Writer
/
OOXWriter
.
h
\
..
/
source
/
Ole1FormatReader
.
h
unix
{
target
.
path
=
/
usr
/
lib
INSTALLS
+=
target
}
SOURCES
+=
\
..
/
source
/
RtfMath
.
cpp
\
...
...
ASCOfficeTxtFile/TxtXmlFormatLib/Linux/TxtXmlFormatLib.pro
View file @
f06d166a
...
...
@@ -10,45 +10,11 @@ TARGET = TxtXmlFormatLib
TEMPLATE
=
lib
CONFIG
+=
staticlib
CONFIG
+=
c
++
11
win32
{
QMAKE_CXXFLAGS_RELEASE
-=
-
Zc
:
strictStrings
CONFIG
(
debug
,
debug
|
release
)
{
QMAKE_CXXFLAGS
+=
/
bigobj
}
}
else
{
QMAKE_CXXFLAGS
+=
-
std
=
c
++
11
-
Wall
-
Wno
-
ignored
-
qualifiers
}
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../../
build
/
lib
CORE_ROOT_DIR
=
$$
PWD
/../../..
PWD_ROOT_DIR
=
$$
PWD
#
WINDOWS
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_64
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_32
}
mac
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
mac_64
}
###############
destination
path
###############
CONFIG
+=
core_x2t
include
(..
/../../
Common
/
base
.
pri
)
DEFINES
+=
UNICODE
\
_UNICODE
\
...
...
@@ -56,43 +22,12 @@ DEFINES += UNICODE \
_USE_XMLLITE_READER_
\
USE_LITE_READER
\
BUILD_CONFIG_FULL_VERSION
\
DONT_WRITE_EMBEDDED_FONTS
DONT_WRITE_EMBEDDED_FONTS
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
\
..
/../../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
####################
WINDOWS
#####################
win32
{
DEFINES
+=
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
}
####################
WINDOWS
#####################
####################
LINUX
########################
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
INCLUDEPATH
+=
/
usr
/
include
/
libxml2
}
mac
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
\
_MAC
\
MAC
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../../
DesktopEditor
/
xml
/
libxml2
/
include
}
####################
LINUX
########################
..
/../../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
\
..
/../../
DesktopEditor
/
xml
/
libxml2
/
include
HEADERS
+=
\
..
/
Source
/
TxtXmlEvent
.
h
\
...
...
@@ -123,8 +58,3 @@ SOURCES += \
..
/
Source
/
ConvertDocx2Txt
.
cpp
\
..
/
Source
/
ConvertTxt2Docx
.
cpp
}
unix
{
target
.
path
=
/
usr
/
lib
INSTALLS
+=
target
}
ASCOfficeXlsFile2/source/linux/XlsFormatLib.pro
View file @
f06d166a
...
...
@@ -10,47 +10,17 @@ TARGET = XlsFormatLib
TEMPLATE
=
lib
CONFIG
+=
staticlib
CONFIG
+=
c
++
11
CORE_ROOT_DIR
=
$$
PWD
/../../..
PWD_ROOT_DIR
=
$$
PWD
win32
{
QMAKE_CXXFLAGS_RELEASE
-=
-
Zc
:
strictStrings
QMAKE_CXXFLAGS
+=
/
bigobj
}
else
{
QMAKE_CXXFLAGS
+=
-
std
=
c
++
11
-
Wall
-
Wno
-
ignored
-
qualifiers
}
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../../
build
/
lib
#
WINDOWS
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_64
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_32
}
CONFIG
+=
core_x2t
include
(..
/../../
Common
/
base
.
pri
)
mac
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
mac_64
}
###############
destination
path
###############
#
BOOST
include
(
$$
PWD
/../../../
Common
/
3
dParty
/
boost
/
boost
.
pri
)
DEFINES
+=
UNICODE
\
_UNICODE
_UNICODE
CONFIG
(
debug
,
debug
|
release
){
...
...
@@ -58,38 +28,15 @@ message(Debug)
DEFINES
+=
_DEBUG
}
####################
WINDOWS
#####################
win32
{
DEFINES
+=
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
C
:/
boost_1_58_0
}
####################
WINDOWS
#####################
core_mac
{
DEFINES
+=
\
_ASC_USE_UNICODE_CONVERTER_
\
UNICODECONVERTER_USE_DYNAMIC_LIBRARY
####################
LINUX
########################
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
LIBS
+=
$$
DESTDIR
-
lUnicodeConverter
}
mac
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
\
_MAC
\
MAC
\
_ASC_USE_UNICODE_CONVERTER_
\
UNICODECONVERTER_USE_DYNAMIC_LIBRARY
INCLUDEPATH
+=
..
/../../
Common
/
boost_1_58_0
LIBS
+=
$$
DESTDIR
-
lUnicodeConverter
}
####################
LINUX
########################
INCLUDEPATH
+=
..
/../../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
INCLUDEPATH
+=
..
/
XlsFormat
INCLUDEPATH
+=
..
/
Common
...
...
@@ -1777,14 +1724,6 @@ HEADERS += \
..
/
XlsFormat
/
Logic
/
Biff_records
/
IMDATA
.
h
\
..
/
XlsFormat
/
Logic
/
Biff_structures
/
CFDatabar
.
h
unix
{
target
.
path
=
/
usr
/
lib
INSTALLS
+=
target
}
SOURCES
+=
\
..
/
XlsFormat
/
Logic
/
Biff_unions
/
IMDATAOBJECT
.
cpp
\
..
/
XlsFormat
/
Logic
/
Biff_records
/
IMDATA
.
cpp
\
...
...
Common/3dParty/boost/boost.pri
View file @
f06d166a
...
...
@@ -23,3 +23,18 @@ core_release {
}
}
core_boost_regex {
core_windows {
core_debug {
LIBS += -L$$CORE_BOOST_LIBS -llibboost_regex-vc120-mt-gd-1_58
}
core_release {
LIBS += -L$$CORE_BOOST_LIBS -llibboost_regex-vc120-mt-1_58
}
} else {
LIBS += -L$$CORE_BOOST_LIBS -lboost_regex
}
}
Common/3dParty/boost/build.bat
View file @
f06d166a
...
...
@@ -25,15 +25,15 @@ md %folder%\static_fpic
md
%folder%
\shared
.\b2.exe
-
-clean
.\bjam.exe
link
=
static
-
-with-filesystem
-
-with-system
-
-with-date
_time
.\bjam.exe
link
=
static
-
-with-filesystem
-
-with-system
-
-with-date
_time
-
-with-regex
XCOPY
stage
\lib\
*
"
%folder%
\static\"
.\b2.exe
-
-clean
.\bjam.exe
link
=
static
cxxflags
=
-fPIC
-
-with-filesystem
-
-with-system
-
-with-date
_time
.\bjam.exe
link
=
static
cxxflags
=
-fPIC
-
-with-filesystem
-
-with-system
-
-with-date
_time
-
-with-regex
XCOPY
stage
\lib\
*
"
%folder%
\static_fpic\"
.\b2.exe
-
-clean
.\bjam.exe
link
=
shared
-
-with-filesystem
-
-with-system
-
-with-date
_time
.\bjam.exe
link
=
shared
-
-with-filesystem
-
-with-system
-
-with-date
_time
-
-with-regex
XCOPY
stage
\lib\
*
"
%folder%
\shared\"
SET
folder
=
build
/win
_64
...
...
@@ -53,13 +53,13 @@ md %folder%\static_fpic
md
%folder%
\shared
.\b2.exe
-
-clean
.\bjam.exe
link
=
static
-
-with-filesystem
-
-with-system
-
-with-date
_time
address
-model
=
64
.\bjam.exe
link
=
static
-
-with-filesystem
-
-with-system
-
-with-date
_time
-
-with-regex
address
-model
=
64
XCOPY
stage
\lib\
*
"
%folder%
\static\"
.\b2.exe
-
-clean
.\bjam.exe
link
=
static
cxxflags
=
-fPIC
-
-with-filesystem
-
-with-system
-
-with-date
_time
address
-model
=
64
.\bjam.exe
link
=
static
cxxflags
=
-fPIC
-
-with-filesystem
-
-with-system
-
-with-date
_time
-
-with-regex
address
-model
=
64
XCOPY
stage
\lib\
*
"
%folder%
\static_fpic\"
.\b2.exe
-
-clean
.\bjam.exe
link
=
shared
-
-with-filesystem
-
-with-system
-
-with-date
_time
address
-model
=
64
.\bjam.exe
link
=
shared
-
-with-filesystem
-
-with-system
-
-with-date
_time
-
-with-regex
address
-model
=
64
XCOPY
stage
\lib\
*
"
%folder%
\shared\"
\ No newline at end of file
Common/3dParty/boost/build.sh
View file @
f06d166a
...
...
@@ -24,7 +24,7 @@ outputdir="$SCRIPTPATH/boost_1_58_0/build/$platform$arch"
echo
$outputdir
cd
"
$SCRIPTPATH
/boost_1_58_0"
./bootstrap.sh
--with-libraries
=
filesystem,system,date_time
./bootstrap.sh
--with-libraries
=
filesystem,system,date_time
,regex
folder
=
"build/
$platform$arch
"
if
[
-d
$folder
]
;
then
...
...
Common/3dParty/cryptopp/project/cryptopp.pro
View file @
f06d166a
#-------------------------------------------------
#
#
Project
created
by
QtCreator
2016
-
07
-
26
T18
:
24
:
47
#
#-------------------------------------------------
QT
-=
core
gui
TARGET
=
CryptoPPLib
...
...
@@ -12,37 +6,16 @@ CONFIG += staticlib
DEFINES
+=
CRYPTOPPLIB_LIBRARY
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../../../
build
/
lib
#
WINDOWS
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
CORE_ROOT_DIR
=
$$
PWD
/../../../..
PWD_ROOT_DIR
=
$$
PWD
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_64
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_32
}
include
(..
/../../../
Common
/
base
.
pri
)
mac
{
DE
STDIR
=
$$
DESTINATION_SDK_PATH
/
mac_64
core_windows
{
DE
FINES
-=
UNICODE
}
###############
destination
path
###############
DEFINES
+=
CRYPTOPP_DISABLE_ASM
HEADERS
+=
\
..
/
3
way
.
h
\
...
...
@@ -320,8 +293,3 @@ SOURCES += \
..
/
zlib
.
cpp
\
..
/
cpu
.
cpp
unix
{
target
.
path
=
/
usr
/
lib
INSTALLS
+=
target
}
Common/3dParty/icu/icu.pri
View file @
f06d166a
CORE_V8_PATH_INCLUDE = $$CORE_ROOT_DIR/Common/3dParty/v8/v8
CORE_V8_PATH_LIBS = $$CORE_ROOT_DIR/Common/3dParty/v8/$$CORE_BUILDS_PLATFORM_PREFIX/$$CORE_BUILDS_CONFIGURATION_PREFIX
INCLUDEPATH += \
$$CORE_V8_PATH_INCLUDE \
$$CORE_V8_PATH_INCLUDE/include
core_windows {
INCLUDEPATH += $$PWD/$$CORE_BUILDS_PLATFORM_PREFIX/icu/include
}
...
...
Common/DocxFormat/DocxFormatLib/DocxFormatLib.pro
View file @
f06d166a
...
...
@@ -10,82 +10,16 @@ TARGET = DocxFormatLib
TEMPLATE
=
lib
CONFIG
+=
staticlib
CONFIG
+=
c
++
11
CORE_ROOT_DIR
=
$$
PWD
/../../..
PWD_ROOT_DIR
=
$$
PWD
win32
{
QMAKE_CXXFLAGS_RELEASE
-=
-
Zc
:
strictStrings
QMAKE_CXXFLAGS
+=
/
bigobj
}
else
{
QMAKE_CXXFLAGS
+=
-
std
=
c
++
11
-
Wall
-
Wno
-
ignored
-
qualifiers
}
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../../
build
/
lib
#
WINDOWS
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
CONFIG
(
debug
,
debug
|
release
)
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_64
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
linux_32
}
CONFIG
+=
core_x2t
include
(..
/../../
Common
/
base
.
pri
)
mac
{
DESTDIR
=
$$
DESTINATION_SDK_PATH
/
mac_64
}
###############
destination
path
###############
DEFINES
+=
UNICODE
_UNICODE
_USE_LIBXML2_READER_
_USE_XMLLITE_READER_
USE_LITE_READER
####################
WINDOWS
#####################
win32
{
DEFINES
+=
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/
Source
/
XML
/
libxml2
/
XML
/
include
}
####################
WINDOWS
#####################
####################
LINUX
########################
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
INCLUDEPATH
+=
/
usr
/
include
/
libxml2
}
mac
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
\
_MAC
\
MAC
DEFINES
+=
UNICODE
_UNICODE
_USE_LIBXML2_READER_
_USE_XMLLITE_READER_
USE_LITE_READER
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../../
DesktopEditor
/
xml
/
libxml2
/
include
DEFINES
+=
\
LIBXML_READER_ENABLED
}
####################
LINUX
########################
build_fast
{
SOURCES
+=
\
docxformatlib_logic
.
cpp
\
...
...
@@ -125,7 +59,7 @@ SOURCES += \
..
/
Source
/
XlsxFormat
/
FileFactory_Spreadsheet
.
cpp
\
..
/
Source
/
XlsxFormat
/
IFileContainer_Spreadsheet
.
cpp
\
win32
{
core_windows
{
SOURCES
+=
\
..
/
Source
/
SystemUtility
/
FileSystem
/
Directory
.
cpp
\
..
/
Source
/
SystemUtility
/
FileSystem
/
File
.
cpp
\
...
...
@@ -351,8 +285,3 @@ HEADERS += docxformatlib.h \
..
/
Source
/
XlsxFormat
/
ExternalLinks
/
ExternalLinks
.
h
\
..
/
Source
/
XlsxFormat
/
Worksheets
/
Sparkline
.
h
\
..
/
Source
/
XlsxFormat
/
Ole
/
OleObjects
.
h
unix
{
target
.
path
=
/
usr
/
lib
INSTALLS
+=
target
}
Common/base.pri
View file @
f06d166a
...
...
@@ -130,3 +130,15 @@ plugin {
staticlib {
DESTDIR = $$CORE_BUILDS_LIBRARIES_PATH
}
core_x2t {
core_windows {
CONFIG(debug, debug|release) {
QMAKE_CXXFLAGS += /bigobj
}
} else {
QMAKE_CXXFLAGS += -Wall -Wno-ignored-qualifiers
}
DEFINES += CRYPTOPP_DISABLE_ASM
}
X2tConverter/build/Qt/X2tConverter.pro
View file @
f06d166a
...
...
@@ -10,28 +10,31 @@ QT -= gui
VERSION
=
2.0
.
2.382
DEFINES
+=
INTVER
=
$$
VERSION
mac
{
message
(
64
bit
)
TARGET
=
x2t
}
else
{
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
#
64
bit
message
(
64
bit
)
TARGET
=
x2t
}
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
#
32
bit
message
(
32
bit
)
TEMPLATE
=
app
CONFIG
+=
console
CONFIG
-=
app_bundle
TARGET
=
x2t
CORE_ROOT_DIR
=
$$
PWD
/../../..
PWD_ROOT_DIR
=
$$
PWD
CONFIG
+=
core_static_link_libstd
CONFIG
+=
core_x2t
include
(..
/../../
Common
/
base
.
pri
)
core_win_32
{
TARGET
=
x2t32
}
core_linux_32
{
TARGET
=
x2t32
}
TEMPLATE
=
app
CONFIG
+=
console
CONFIG
-=
app_bundle
#
BOOST
CONFIG
+=
core_boost_regex
include
(
$$
PWD
/../../../
Common
/
3
dParty
/
boost
/
boost
.
pri
)
win32
{
QMAKE_CXXFLAGS_RELEASE
-=
-
Zc
:
strictStrings
core_windows
{
QMAKE_LFLAGS
+=
/
INCREMENTAL
:
NO
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
...
...
@@ -41,18 +44,7 @@ win32 {
}
}
else
{
QMAKE_CXXFLAGS
+=
-
std
=
c
++
11
-
Wall
-
Wno
-
ignored
-
qualifiers
}
CONFIG
+=
c
++
11
#
теперь
всегда
с
libstd
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
CONFIG
+=
static_link_libstd
}
static_link_libstd
{
QMAKE_LFLAGS
+=
-
static
-
libstdc
++
-
static
-
libgcc
message
(
static_link_libstd
)
QMAKE_CXXFLAGS
+=
-
Wall
-
Wno
-
ignored
-
qualifiers
}
#
CONFIG
+=
build_for_centos6
...
...
@@ -74,7 +66,8 @@ DEFINES += UNICODE \
CXIMAGE_DONT_DECLARE_TCHAR
\
BUILD_CONFIG_FULL_VERSION
\
DONT_WRITE_EMBEDDED_FONTS
\
AVS_USE_CONVERT_PPTX_TOCUSTOM_VML
AVS_USE_CONVERT_PPTX_TOCUSTOM_VML
\
LIBXML_READER_ENABLED
DEFINES
+=
PDFREADER_USE_DYNAMIC_LIBRARY
DEFINES
+=
PDFWRITER_USE_DYNAMIC_LIBRARY
...
...
@@ -84,42 +77,15 @@ DEFINES += HTMLRENDERER_USE_DYNAMIC_LIBRARY
DEFINES
+=
HTMLFILE_USE_DYNAMIC_LIBRARY
DEFINES
+=
UNICODECONVERTER_USE_DYNAMIC_LIBRARY
####################
WINDOWS
#####################
win32
{
DEFINES
+=
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
\
INCLUDEPATH
+=
..
/../../
OfficeUtils
/
src
/
zlib
-
1.2
.
3
core_windows
{
INCLUDEPATH
+=
..
/../../
OfficeUtils
/
src
/
zlib
-
1.2
.
3
}
####################
WINDOWS
#####################
####################
LINUX
########################
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
INCLUDEPATH
+=
/
usr
/
include
/
libxml2
core_mac
{
INCLUDEPATH
+=
..
/../../
OfficeUtils
/
src
/
zlib
-
1.2
.
3
}
mac
{
DEFINES
+=
\
LINUX
\
_LINUX
\
_LINUX_QT
\
_MAC
\
MAC
\
LIBXML_READER_ENABLED
INCLUDEPATH
+=
..
/../../
Common
/
DocxFormat
/
Source
/
XML
/
libxml2
/
XML
/
include
\
INCLUDEPATH
+=
..
/../../
OfficeUtils
/
src
/
zlib
-
1.2
.
3
}
####################
LINUX
########################
INCLUDEPATH
+=
\
..
/../../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
INCLUDEPATH
+=
..
/../../
DesktopEditor
/
xml
/
libxml2
/
include
INCLUDEPATH
+=
..
/../../
DesktopEditor
/
freetype
-
2.5
.
2
/
include
INCLUDEPATH
+=
$$
PWD
/../../../
Common
/
DocxFormat
DEPENDPATH
+=
$$
PWD
/../../../
Common
/
DocxFormat
...
...
@@ -148,118 +114,72 @@ HEADERS += ../../src/cextracttools.h \
###############################################################################################################
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../../
build
/
lib
DESTINATION_BIN_PATH
=
$$
PWD
/../../../
build
/
bin
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
message
(
win64
)
DESTINATION_BIN_PATH
=
$$
DESTINATION_BIN_PATH
/
windows
CONFIG
(
debug
,
debug
|
release
)
{
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
message
(
win32
)
DESTINATION_BIN_PATH
=
$$
DESTINATION_BIN_PATH
/
windows
CONFIG
(
debug
,
debug
|
release
)
{
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
message
(
linuX
)
LIBS
+=
$$
PWD
/../../../
Common
/
3
dParty
/
icu
/
linux_64
/
build
/
libicuuc
.
so
.
55
LIBS
+=
$$
PWD
/../../../
Common
/
3
dParty
/
icu
/
linux_64
/
build
/
libicudata
.
so
.
55
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
linux_64
DESTINATION_BIN_PATH
=
$$
DESTINATION_BIN_PATH
/
linux
DESTDIR
=
$$
PWD
/../../../
build
/
bin
core_windows
{
DESTDIR
=
$$
DESTDIR
/
windows
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
linux_32
DESTINATION_BIN_PATH
=
$$
DESTINATION_BIN_PATH
/
linux
core_linux
{
DESTDIR
=
$$
DESTDIR
/
linux
}
mac
{
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
mac_64
DESTINATION_BIN_PATH
=
$$
DESTINATION_BIN_PATH
/
mac
core_mac
{
DESTDIR
=
$$
DESTDIR
/
mac
}
DESTDIR
=
$$
DESTINATION_BIN_PATH
###############
destination
path
###############
message
(
destination
sdk
path
=
$$
DESTINATION_SDK_PATH
)
CONFIG
(
debug
,
debug
|
release
)
{
message
(
Debug
)
BOOST_LIBNAME_POSTFIX
=
-
gd
}
else
{
message
(
Release
)
}
#
Xls
file
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lXlsFormatLib
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lXlsFormatLib
#
odf
format
writer
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lOdfFileWriterLib
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lOdfFileWriterLib
#
odf
format
reader
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lOdfFileReaderLib
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lOdfFileReaderLib
#
doc
file
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lDocFormatLib
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lDocFormatLib
#
ppt
file
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lPptFormatLib
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lPptFormatLib
#
rtf
file
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lRtfFormatLib
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lRtfFormatLib
#
txt
(
xml
)
file
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lTxtXmlFormatLib
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lTxtXmlFormatLib
#
pdf
writer
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lPdfWriter
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lPdfWriter
#
docxfile2
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lASCOfficeDocxFile2Lib
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lASCOfficeDocxFile2Lib
#
pptxformat
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lPPTXFormatLib
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lPPTXFormatLib
#
docxformat
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lDocxFormatLib
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lDocxFormatLib
#
office
utils
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lOfficeUtils
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lOfficeUtils
#
graphics
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lgraphics
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lgraphics
#
doctrenderer
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
ldoctrenderer
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
ldoctrenderer
#
HtmlRenderer
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lHtmlRenderer
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lPdfReader
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lDjVuFile
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lXpsFile
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lHtmlRenderer
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lPdfReader
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lDjVuFile
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lXpsFile
#
HtmlFile
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lHtmlFile
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lHtmlFile
#
UnicodeConverter
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lUnicodeConverter
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lUnicodeConverter
#
Crypto
++
LIBS
+=
-
L
$$
DESTINATION_SDK
_PATH
-
lCryptoPPLib
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES
_PATH
-
lCryptoPPLib
#####################################################
#
внешнее
подключение
сторонних
библиотек
win32
{
core_windows
{
LIBS
+=
-
lurlmon
LIBS
+=
-
L
C
:
\
boost_1_58_0
\
stage
\
lib
-
llibboost_regex
-
vc120
-
mt
$$
BOOST_LIBNAME_POSTFIX
-
1
_58
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES_PATH
-
llibxml
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
{
LIBS
+=
-
lboost_regex
core_linux
{
LIBS
+=
-
lz
LIBS
+=
-
lxml2
LIBS
+=
-
lcurl
}
mac
{
LIBS
+=
-
L
$$
PWD
/../../../
Common
/
boost_1_58_0
/
stage
/
lib
-
lboost_regex
LIBS
+=
-
L
$$
DESTINATION_SDK_PATH
-
llibxml
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES_PATH
-
llibxml
LIBS
+=
-
framework
AppKit
}
########################################################
...
...
X2tConverter/build/Qt/X2tSLN.pro
View file @
f06d166a
TEMPLATE
=
subdirs
CONFIG
-=
debug_and_release
debug_and_release_target
CORE_ROOT_DIR
=
$$
PWD
/../../..
PWD_ROOT_DIR
=
$$
PWD
#
важно
!!!
build
directory
должна
быть
на
уровне
выше
,
чтобы
Makefile
и
$$
PWD
были
на
одном
уровне
к
ServerComponents
include
(..
/../../
Common
/
base
.
pri
)
SUBDIRS
=
\
OfficeUtils
\
graphics
\
cryptopp
\
DocxFormatLib
\
PPTXFormatLib
\
ASCOfficeDocxFile2Lib
\
...
...
@@ -21,6 +23,7 @@ SUBDIRS = \
OfficeUtils
.
file
=
..
/../../
OfficeUtils
/
OfficeUtils
.
pro
graphics
.
file
=
..
/../../
DesktopEditor
/
Qt_build
/
graphics
/
project
/
graphics
.
pro
cryptopp
.
file
=
..
/../../
Common
/
3
dParty
/
cryptopp
/
project
/
cryptopp
.
pro
DocxFormatLib
.
file
=
..
/../../
Common
/
DocxFormat
/
DocxFormatLib
/
DocxFormatLib
.
pro
PPTXFormatLib
.
file
=
..
/../../
ASCOfficePPTXFile
/
PPTXLib
/
Linux
/
PPTXFormatLib
/
PPTXFormatLib
.
pro
...
...
@@ -37,6 +40,7 @@ X2tConverter.file = ./X2tConverter.pro
X2tConverter
.
depends
=
\
OfficeUtils
\
graphics
\
cryptopp
\
DocxFormatLib
\
PPTXFormatLib
\
ASCOfficeDocxFile2Lib
\
...
...
@@ -48,40 +52,6 @@ X2tConverter.depends = \
OdfFileWriterLib
\
XlsFormatLib
###############
destination
path
###############
DESTINATION_SDK_PATH
=
$$
PWD
/../../../
build
/
lib
DESTINATION_ICU
=
$$
PWD
/../../../
UnicodeConverter
/
icubuilds
win32
:
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
DESTINATION_ICU
=
$$
DESTINATION_ICU
/
win64
/
bin
CONFIG
(
debug
,
debug
|
release
)
{
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
win_64
/
DEBUG
}
else
{
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
win_64
}
}
win32
:
!
contains
(
QMAKE_TARGET
.
arch
,
x86_64
)
:
{
DESTINATION_ICU
=
$$
DESTINATION_ICU
/
win32
/
bin
CONFIG
(
debug
,
debug
|
release
)
{
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
win_32
/
DEBUG
}
else
{
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
win_32
}
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTINATION_ICU
=
$$
DESTINATION_ICU
/
linux64
/
usr
/
local
/
lib
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
linux_64
}
linux
-
g
++
|
linux
-
g
++-
64
|
linux
-
g
++-
32
:
!
contains
(
QMAKE_HOST
.
arch
,
x86_64
)
:
{
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
linux_32
}
mac
{
DESTINATION_ICU
=
$$
DESTINATION_ICU
/
icubuilds
/
mac
/
build_release
-
55
-
1
/
lib
DESTINATION_SDK_PATH
=
$$
DESTINATION_SDK_PATH
/
mac_64
}
LIBS
+=
-
L
$$
DESTINATION_SDK_PATH
LIBS
+=
-
L
$$
DESTINATION_ICU
################################################
#
for
run
in
qt
from
this
solution
LIBS
+=
-
L
$$
CORE_BUILDS_LIBRARIES_PATH
include
(..
/../../
Common
/
3
dParty
/
icu
/
icu
.
pri
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment