mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 07:39:04 +08:00
26 lines
662 B
Diff
26 lines
662 B
Diff
|
--- a/sharedlib-compilation/sharedlib-compilation.pro
|
||
|
+++ b/sharedlib-compilation/sharedlib-compilation.pro
|
||
|
@@ -10,7 +10,6 @@
|
||
|
|
||
|
DEFINES += QCUSTOMPLOT_COMPILE_LIBRARY
|
||
|
TEMPLATE = lib
|
||
|
-CONFIG += debug_and_release build_all
|
||
|
static {
|
||
|
CONFIG += static
|
||
|
} else {
|
||
|
@@ -33,3 +32,14 @@
|
||
|
|
||
|
SOURCES += ../../qcustomplot.cpp
|
||
|
HEADERS += ../../qcustomplot.h
|
||
|
+win32 {
|
||
|
+ dlltarget.path = $$[QT_INSTALL_BINS]
|
||
|
+ INSTALLS += dlltarget
|
||
|
+}
|
||
|
+target.path = $$[QT_INSTALL_LIBS]
|
||
|
+!static: target.CONFIG = no_dll
|
||
|
+INSTALLS += target
|
||
|
+
|
||
|
+headers.files += ../../qcustomplot.h
|
||
|
+headers.path = $$[QT_INSTALL_PREFIX]/include
|
||
|
+INSTALLS += headers
|