forked from qbittorrent/qBittorrent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move OS specific configuration to separate project files
- Loading branch information
Christophe Dumez
committed
Nov 20, 2010
1 parent
1ca0840
commit 8a1e79d
Showing
34 changed files
with
301 additions
and
320 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
PREFIX = /usr/local | ||
BINDIR = /usr/local/bin | ||
DATADIR = /usr/local/share | ||
|
||
INCLUDEPATH += /usr/local/include/libtorrent /usr/include/openssl /usr/include /opt/local/include/boost /opt/local/include | ||
LIBS += -ltorrent-rasterbar -lcrypto -L/opt/local/lib -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -framework Cocoa -framework Carbon | ||
|
||
document_icon.path = Contents/Resources | ||
document_icon.files = Icons/qBitTorrentDocument.icns | ||
|
||
QMAKE_BUNDLE_DATA += document_icon | ||
ICON = Icons/qbittorrent_mac.icns | ||
QMAKE_INFO_PLIST = Info.plist | ||
|
||
DEFINES += WITH_GEOIP_EMBEDDED | ||
message("On Mac OS X, GeoIP database must be embedded.") |
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,10 @@ | ||
LIBS += -ltorrent-rasterbar \ | ||
-lboost_thread \ | ||
-lboost_system \ | ||
-lboost_filesystem \ | ||
-lssl -lcrypto -lidn -lpthread | ||
|
||
RC_FILE = qbittorrent_os2.rc | ||
|
||
DEFINES += WITH_GEOIP_EMBEDDED | ||
message("On eCS(OS/2), GeoIP database must be embedded.") |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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,19 @@ | ||
INCLUDEPATH += $$PWD | ||
|
||
HEADERS += $$PWD/geoipmanager.h | ||
|
||
SOURCES += $$PWD/geoipmanager.cpp | ||
|
||
# Add GeoIP resource file if the GeoIP database | ||
# should be embedded in qBittorrent executable | ||
contains(DEFINES, WITH_GEOIP_EMBEDDED) { | ||
exists("geoip/GeoIP.dat") { | ||
message("GeoIP.dat was found in src/geoip/.") | ||
RESOURCES += $$PWD/geoip.qrc | ||
} else { | ||
DEFINES -= WITH_GEOIP_EMBEDDED | ||
error("GeoIP.dat was not found in src/geoip/ folder, please follow instructions in src/geoip/README.") | ||
} | ||
} else { | ||
message("GeoIP database will not be embedded in qBittorrent executable.") | ||
} |
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,5 @@ | ||
<RCC> | ||
<qresource prefix="/geoip"> | ||
<file>GeoIP.dat</file> | ||
</qresource> | ||
</RCC> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,13 @@ | ||
INCLUDEPATH += $$PWD | ||
|
||
!contains(DEFINES, DISABLE_GUI) { | ||
|
||
HEADERS += $$PWD/options_imp.h \ | ||
$$PWD/advancedsettings.h | ||
|
||
SOURCES += $$PWD/options_imp.cpp | ||
|
||
FORMS += $$PWD/options.ui | ||
} | ||
|
||
HEADERS += $$PWD/preferences.h |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.