Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
a2654f8a
Commit
a2654f8a
authored
Aug 02, 2012
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some cosmetics
parent
d82fdd7d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
98 deletions
+19
-98
Sankore_3.1.pro
Sankore_3.1.pro
+13
-65
Subdirs.pro
Subdirs.pro
+0
-33
plugins.pri
plugins/plugins.pri
+6
-0
No files found.
Sankore_3.1.pro
View file @
a2654f8a
...
@@ -7,19 +7,6 @@ CONFIG -= flat
...
@@ -7,19 +7,6 @@ CONFIG -= flat
CONFIG
+=
debug_and_release
\
CONFIG
+=
debug_and_release
\
no_include_pwd
no_include_pwd
linux
-
g
++-
64
{
CONFIG
+=
link_prl
}
linux
-
g
++-
32
{
CONFIG
+=
link_prl
}
linux
-
g
++
{
CONFIG
+=
link_prl
}
VERSION_MAJ
=
2
VERSION_MAJ
=
2
VERSION_MIN
=
00
VERSION_MIN
=
00
...
@@ -46,7 +33,6 @@ QT += script
...
@@ -46,7 +33,6 @@ QT += script
QT
+=
xmlpatterns
QT
+=
xmlpatterns
INCLUDEPATH
+=
src
INCLUDEPATH
+=
src
INCLUDEPATH
+=
plugins
/
cffadaptor
/
src
include
(
$$
THIRD_PARTY_PATH
/
libs
.
pri
)
include
(
$$
THIRD_PARTY_PATH
/
libs
.
pri
)
include
(
src
/
adaptors
/
adaptors
.
pri
)
include
(
src
/
adaptors
/
adaptors
.
pri
)
...
@@ -70,6 +56,13 @@ include(src/customWidgets/customWidgets.pri)
...
@@ -70,6 +56,13 @@ include(src/customWidgets/customWidgets.pri)
DEPENDPATH
+=
src
/
pdf
-
merger
DEPENDPATH
+=
src
/
pdf
-
merger
INCLUDEPATH
+=
src
/
pdf
-
merger
INCLUDEPATH
+=
src
/
pdf
-
merger
include
(
src
/
pdf
-
merger
/
pdfMerger
.
pri
)
include
(
src
/
pdf
-
merger
/
pdfMerger
.
pri
)
#plugins
include
(
plugins
/
plugins
.
pri
)
INCLUDEPATH
+=
plugins
/
cffadaptor
/
src
#ThirdParty
DEPENDPATH
+=
$$
THIRD_PARTY_PATH
/
quazip
/
DEPENDPATH
+=
$$
THIRD_PARTY_PATH
/
quazip
/
INCLUDEPATH
+=
$$
THIRD_PARTY_PATH
/
quazip
/
INCLUDEPATH
+=
$$
THIRD_PARTY_PATH
/
quazip
/
include
(
$$
THIRD_PARTY_PATH
/
quazip
/
quazip
.
pri
)
include
(
$$
THIRD_PARTY_PATH
/
quazip
/
quazip
.
pri
)
...
@@ -103,9 +96,7 @@ BUILD_DIR = build
...
@@ -103,9 +96,7 @@ BUILD_DIR = build
macx:BUILD_DIR = $$BUILD_DIR/macx
macx:BUILD_DIR = $$BUILD_DIR/macx
win32:BUILD_DIR = $$BUILD_DIR/win32
win32:BUILD_DIR = $$BUILD_DIR/win32
linux-g++:BUILD_DIR = $$BUILD_DIR/linux
linux-g++
*:BUILD_DIR = $$BUILD_DIR
/linux
linux-g++-32:BUILD_DIR = $$BUILD_DIR/linux
linux-g++-64:BUILD_DIR = $$BUILD_DIR/linux
CONFIG(debug, debug|release):BUILD_DIR = $$BUILD_DIR/debug
CONFIG(debug, debug|release):BUILD_DIR = $$BUILD_DIR/debug
CONFIG(release, debug|release) {
CONFIG(release, debug|release) {
...
@@ -119,16 +110,12 @@ MOC_DIR = $$BUILD_DIR/moc
...
@@ -119,16 +110,12 @@ MOC_DIR = $$BUILD_DIR/moc
RCC_DIR = $$BUILD_DIR/rcc
RCC_DIR = $$BUILD_DIR/rcc
UI_DIR = $$BUILD_DIR/ui
UI_DIR = $$BUILD_DIR/ui
#LIBS += "-Lplugins/cffadaptor/$$BUILD_DIR/lib" "-lCFF_Adaptor"
win32 {
win32 {
RC_FILE = resources/win/sankore.rc
RC_FILE = resources/win/sankore.rc
CONFIG += qaxcontainer
CONFIG += qaxcontainer
exists(console):CONFIG += console
exists(console):CONFIG += console
QMAKE_CXXFLAGS += \
QMAKE_CXXFLAGS += /MP
/MP
QMAKE_CXXFLAGS_RELEASE += /Od /Zi
QMAKE_CXXFLAGS_RELEASE += /Od \
/Zi
QMAKE_LFLAGS_RELEASE += /DEBUG
QMAKE_LFLAGS_RELEASE += /DEBUG
UB_LIBRARY.path = $$DESTDIR
UB_LIBRARY.path = $$DESTDIR
UB_I18N.path = $$DESTDIR/i18n
UB_I18N.path = $$DESTDIR/i18n
...
@@ -360,39 +347,9 @@ macx {
...
@@ -360,39 +347,9 @@ macx {
system(printf "%02x%02x%02x%02x" `printf $$VERSION_RC | cut -d ',' -f 1` `printf $$VERSION_RC | cut -d ',' -f 2` `printf $$VERSION_RC | cut -d ',' -f 3` `printf $$VERSION_RC | cut -d ',' -f 4` | xxd -r -p > "$$VERSION_RC_PATH")
system(printf "%02x%02x%02x%02x" `printf $$VERSION_RC | cut -d ',' -f 1` `printf $$VERSION_RC | cut -d ',' -f 2` `printf $$VERSION_RC | cut -d ',' -f 3` `printf $$VERSION_RC | cut -d ',' -f 4` | xxd -r -p > "$$VERSION_RC_PATH")
}
}
linux-g++ {
linux-g++
* {
LIBS += -lcrypto
message(LINUX)
LIBS += -lX11
CONFIG += link_prl
QMAKE_CFLAGS += -fopenmp
QMAKE_CXXFLAGS += -fopenmp
QMAKE_LFLAGS += -fopenmp
UB_LIBRARY.path = $$DESTDIR
UB_I18N.path = $$DESTDIR/i18n
UB_ETC.path = $$DESTDIR
UB_THIRDPARTY_INTERACTIVE.path = $$DESTDIR/library
system(mkdir -p $$BUILD_DIR)
system(echo "$$VERSION" > $$BUILD_DIR/version)
system(echo "$$LONG_VERSION" > $$BUILD_DIR/longversion)
system(echo "$$SVN_VERSION" > $$BUILD_DIR/svnversion)
}
linux-g++-32 {
LIBS += -lcrypto
LIBS += -lX11
QMAKE_CFLAGS += -fopenmp
QMAKE_CXXFLAGS += -fopenmp
QMAKE_LFLAGS += -fopenmp
UB_LIBRARY.path = $$DESTDIR
UB_I18N.path = $$DESTDIR/i18n
UB_ETC.path = $$DESTDIR
UB_THIRDPARTY_INTERACTIVE.path = $$DESTDIR/library
system(mkdir -p $$BUILD_DIR)
system(echo "$$VERSION" > $$BUILD_DIR/version)
system(echo "$$LONG_VERSION" > $$BUILD_DIR/longversion)
system(echo "$$SVN_VERSION" > $$BUILD_DIR/svnversion)
}
linux-g++-64 {
LIBS += -lcrypto
LIBS += -lcrypto
LIBS += -lX11
LIBS += -lX11
QMAKE_CFLAGS += -fopenmp
QMAKE_CFLAGS += -fopenmp
...
@@ -442,12 +399,3 @@ INSTALLS = UB_ETC \
...
@@ -442,12 +399,3 @@ INSTALLS = UB_ETC \
UB_LIBRARY \
UB_LIBRARY \
UB_THIRDPARTY_INTERACTIVE
UB_THIRDPARTY_INTERACTIVE
HEADERS += \
plugins/cffadaptor/src/UBGlobals.h \
plugins/cffadaptor/src/UBCFFConstants.h \
plugins/cffadaptor/src/UBCFFAdaptor.h \
plugins/cffadaptor/src/UBCFFAdaptor_global.h
SOURCES += \
plugins/cffadaptor/src/UBCFFAdaptor.cpp
Subdirs.pro
deleted
100644 → 0
View file @
d82fdd7d
TEMPLATE
=
subdirs
CONFIG
+=
ordered
CONFIG
+=
debug_and_release
win32
:
SUB_DIR
=
win32
macx
:
SUB_DIR
=
macx
linux
-
g
++:
SUB_DIR
=
linux
linux
-
g
++-
32
:
SUB_DIR
=
linux
linux
-
g
++-
64
:
SUB_DIR
=
linux
BUILD_DIR
=
build
/
$$
SUB_DIR
CONFIG
(
debug
,
debug
|
release
)
:
BUILD_DIR
=
$$
BUILD_DIR
/
debug
CONFIG
(
release
,
debug
|
release
)
{
BUILD_DIR
=
$$
BUILD_DIR
/
release
CONFIG
+=
warn_off
}
SANKORE_DIR
=
$$
PWD
SANKORE_PRO
=
$$
SANKORE_DIR
/
Sankore_3
.
1
.
pro
THIRD_PARTY_DIR
=
$$
PWD
/
Sankore
-
ThirdParty
SANKORE_PLUGINS_DIR
=
$$
SANKORE_DIR
/
plugins
PLUGIN_CFF_ADAPTOR_DIR
=
$$
SANKORE_PLUGINS_DIR
/
cffadaptor
PLUGIN_CFF_ADAPTOR_PRO
=
$$
PLUGIN_CFF_ADAPTOR_DIR
/
UBCFFAdaptor
.
pro
#visoal studio sets first project as executable
contains
(
TEMPLATE
,
vcsubdirs
)
:
{
SUBDIRS
=
$$
SANKORE_PRO
$$
PLUGIN_CFF_ADAPTOR_PRO
}
else
:
{
SUBDIRS
=
$$
PLUGIN_CFF_ADAPTOR_PRO
$$
SANKORE_PRO
}
$$
SANKORE_PRO
.
depends
=
$$
PLUGIN_CFF_ADAPTOR_PRO
plugins/plugins.pri
0 → 100644
View file @
a2654f8a
HEADERS += plugins/cffadaptor/src/UBCFFAdaptor_global.h \
plugins/cffadaptor/src/UBCFFAdaptor.h \
plugins/cffadaptor/src/UBCFFConstants.h \
plugins/cffadaptor/src/UBGlobals.h
SOURCES += plugins/cffadaptor/src/UBCFFAdaptor.cpp
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