Skip to content

Commit f84347a

Browse files
committed
msvc build changes
1 parent 4a42435 commit f84347a

11 files changed

Lines changed: 81 additions & 68 deletions

File tree

.qmake.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
top_srcdir=$$PWD
2+
top_builddir=$$shadowed($$PWD)

apps/apps.pri

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ DEPENDPATH += $$LIBGUI_ROOT \
2929

3030
unix:LIBS += $$QMAKE_LIBS_EXECINFO
3131
windows:RCC_DIR=src/
32-
windows:DESTDIR=$$PWD
3332

3433
isEqual(PRIVATE_PLUGINS, false) {
3534
windows:RC_FILE=res/windows_ico.qrc

apps/pgmodeler-se/pgmodeler-se.pro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ DEPENDPATH += ../pgmodeler \
3030
# Forcing the linker to use the objects files generated
3131
# during the compilation of the main executable since
3232
# pgmodeler-se uses the same application class
33-
OBJECTS += ../pgmodeler/obj/pgmodelerapp.o \
34-
../pgmodeler/obj/moc_pgmodelerapp.o
33+
windows: OBJECTS += ../pgmodeler/obj/pgmodelerapp.obj ../pgmodeler/obj/moc_pgmodelerapp.obj
34+
else: OBJECTS += ../pgmodeler/obj/pgmodelerapp.o ../pgmodeler/obj/moc_pgmodelerapp.o
3535

3636
# Deployment settings
3737
target.path = $$PRIVATEBINDIR
3838
INSTALLS = target
3939

40-
# Print the current build settins (see pgmodeler.pri)
40+
# Print the current build settings (see pgmodeler.pri)
4141
printBuildDetails()

libs/libcanvas/libcanvas.pro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ include(../../pgmodeler.pri)
22

33
TEMPLATE = lib
44
TARGET = canvas
5-
windows: DESTDIR = $$PWD
65

76
# Enables shared library symbols exporting
87
DEFINES += CANVAS_SYMBOLS

libs/libcli/libcli.pro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ include(../../pgmodeler.pri)
22

33
TEMPLATE = lib
44
TARGET = cli
5-
windows: DESTDIR = $$PWD
65

76
# Enables shared library symbols exporting
87
DEFINES += CLI_SYMBOLS

libs/libconnector/libconnector.pro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ include(../../pgmodeler.pri)
22

33
TEMPLATE = lib
44
TARGET = connector
5-
windows: DESTDIR = $$PWD
65

76
# Enables shared library symbols exporting
87
DEFINES += CONNECTOR_SYMBOLS

libs/libcore/libcore.pro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ include(../../pgmodeler.pri)
22

33
TEMPLATE = lib
44
TARGET = core
5-
windows: DESTDIR = $$PWD
65

76
# Enables shared library symbols exporting
87
DEFINES += CORE_SYMBOLS

libs/libgui/libgui.pro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ isEqual(PRIVATE_PLUGINS, false) {
1616
RESOURCES += res/resources.qrc
1717

1818
windows:RCC_DIR += src
19-
windows:DESTDIR = $$PWD
2019

2120
# Enables shared library symbols exporting
2221
DEFINES += GUI_SYMBOLS
@@ -382,7 +381,8 @@ INCLUDEPATH += $$LIBCANVAS_INC \
382381
$$PWD/src/settings \
383382
$$PWD/src/tools \
384383
$$PWD/src/utils \
385-
$$PWD/src/widgets
384+
$$PWD/src/widgets \
385+
$$PWD/src
386386

387387
DEPENDPATH += $$LIBCANVAS_ROOT \
388388
$$LIBCONNECTOR_ROOT \

libs/libparsers/libparsers.pro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ include(../../pgmodeler.pri)
22

33
TEMPLATE = lib
44
TARGET = parsers
5-
windows: DESTDIR = $$PWD
65

76
# Enables shared library symbols exporting
87
DEFINES += PARSERS_SYMBOLS

libs/libutils/libutils.pro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ include(../../pgmodeler.pri)
22

33
TEMPLATE = lib
44
TARGET = utils
5-
windows: DESTDIR = $$PWD
65

76
# Enables shared library symbols exporting
87
DEFINES += UTILS_SYMBOLS

0 commit comments

Comments
 (0)