-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
small modifications for a better build-support
- Loading branch information
1 parent
c4c027c
commit b5ec752
Showing
9 changed files
with
123 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,5 @@ | ||
TARGET = skyplotwidget | ||
TEMPLATE = lib | ||
CONFIG += qt warn_on debug designer plugin static | ||
MOC_DIR = tmp | ||
OBJECTS_DIR = tmp | ||
INCLUDEPATH = include | ||
DEPENDPATH = include src | ||
DESTDIR = lib | ||
QT += | ||
|
||
|
||
unix:VERSION = 1.0.0 | ||
|
||
|
||
#win32:TEMPLATE = vclib | ||
win32:CONFIG += dll | ||
win32:dll:DEFINES += QT_DLL | ||
win32:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_STL | ||
|
||
|
||
# Input | ||
HEADERS += include/SkyplotWidget.h \ | ||
include/SkyplotWidgetPlugin.h | ||
|
||
SOURCES += src/SkyplotWidget.cpp \ | ||
src/SkyplotWidgetPlugin.cpp | ||
|
||
|
||
TEMPLATE = subdirs | ||
SUBDIRS += src/src.pro \ | ||
plugin/plugin.pro \ | ||
example/example.pro | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
TARGET = skyplotwidgetdesigner | ||
TEMPLATE = lib | ||
CONFIG += qt warn_on debug designer plugin | ||
MOC_DIR = tmp | ||
OBJECTS_DIR = tmp | ||
DEPENDPATH = ../include ../src | ||
DESTDIR = ../lib | ||
|
||
INCLUDEPATH += ../include | ||
VERSION = 1.0.1 | ||
|
||
|
||
#win32:TEMPLATE = vclib | ||
win32:CONFIG += dll | ||
win32:dll:DEFINES += QT_DLL | ||
win32:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_STL | ||
|
||
|
||
|
||
HEADERS += SkyplotWidgetPlugin.h ../include/SkyplotWidget.h | ||
SOURCES += SkyplotWidgetPlugin.cpp ../src/SkyplotWidget.cpp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
TARGET = skyplotwidget | ||
TEMPLATE = lib | ||
CONFIG += qt warn_on debug | ||
MOC_DIR = tmp | ||
OBJECTS_DIR = tmp | ||
INCLUDEPATH = ../include | ||
DEPENDPATH = ../include ../src | ||
DESTDIR = ../lib | ||
HEADERS += ../include/SkyplotWidget.h | ||
SOURCES += ../src/SkyplotWidget.cpp | ||
VERSION = 1.0.1 | ||
|
||
|
||
isEmpty(PREFIX) { | ||
PREFIX=/usr/local | ||
} | ||
|
||
unix { | ||
INSTALLBASE = /usr/local/ | ||
} | ||
|
||
win32 { | ||
INSTALLBASE = C:/skyplotwidget-$$VERSION | ||
} | ||
headers.path = $$INSTALLBASE/include/ | ||
target.path = $$INSTALLBASE/lib | ||
headers.files = $$HEADERS | ||
|
||
|
||
|
||
#win32:TEMPLATE = vclib | ||
win32:CONFIG += dll | ||
win32:dll:DEFINES += QT_DLL | ||
win32:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_STL | ||
|
||
INSTALLS += target headers |