Build system: make 'install' target work on Windows.

Reviewed-By: Oswald Buddenhagen
This commit is contained in:
Daniel Molkentin
2009-09-25 12:28:44 +02:00
parent 06fcf59f2e
commit e7a477b3a0
4 changed files with 13 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ DATA_DIRS = \
}
}
unix:!macx {
!macx {
for(data_dir, DATA_DIRS) {
eval($${data_dir}.files = $$quote($$PWD/$$data_dir))
eval($${data_dir}.path = /share/qtcreator)

View File

@@ -14,6 +14,8 @@ win32 {
else:LIBS *= -lExtensionSystem -lAggregation
RC_FILE = qtcreator.rc
target.path = /bin
INSTALLS += target
} else:macx {
CONFIG(debug, debug|release):LIBS *= -lExtensionSystem_debug -lAggregation_debug
else:LIBS *= -lExtensionSystem -lAggregation

View File

@@ -12,7 +12,12 @@ TARGET = $$qtLibraryTarget($$TARGET)
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
unix:!macx {
!macx {
win32 {
target.path = /bin
target.files = $$DESTDIR/$${TARGET}.dll
} else {
target.path = /$$IDE_LIBRARY_BASENAME/qtcreator
}
INSTALLS += target
}

View File

@@ -42,7 +42,7 @@ contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
CONFIG += plugin plugin_with_soname
unix:!macx {
!macx {
target.path = /$$IDE_LIBRARY_BASENAME/qtcreator/plugins/$$PROVIDER
pluginspec.files += $${TARGET}.pluginspec
pluginspec.path = /$$IDE_LIBRARY_BASENAME/qtcreator/plugins/$$PROVIDER