Make it a bit easier to compile with mingw (Win32)...

This commit is contained in:
lotodore
2007-12-15 17:34:11 +00:00
parent facc3c1f95
commit 50d077a69f
2 changed files with 30 additions and 29 deletions
+17 -15
View File
@@ -249,26 +249,28 @@ win32{
INCLUDEPATH += ../SDL/include/SDL ../SDL_mixer/include ../OpenSSL/include
LIBPATH += ../boost/stage/lib ../OpenSSL/lib
LIBPATH += Release/lib ../SDL/VisualC/SDL/Release ../SDL/VisualC/SDLmain/Release ../SDL_mixer/VisualC/Release
#LIBPATH += Debug/lib ../SDL/VisualC/SDL/Debug ../SDL/VisualC/SDLmain/Debug ../SDL_mixer/VisualC/Debug
LIBPATH += ../SDL/lib ../SDL_mixer/lib
LIBS += -lpokerth_lib
LIBS += -llibeay32
LIBS += -lssleay32
LIBS += -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lole32 -luuid -luser32 -lmsimg32 -lshell32 -lkernel32 -lws2_32 -ladvapi32 -lsdl -lsdlmain -lsdl_mixer
exists( ../boost/stage/lib/libboost_thread-mgw34-mt-1_34_1.a ){
win32-msvc2005{
LIBPATH += Release/lib ../SDL/VisualC/SDL/Release ../SDL/VisualC/SDLmain/Release ../SDL_mixer/VisualC/Release
#LIBPATH += Debug/lib ../SDL/VisualC/SDL/Debug ../SDL/VisualC/SDLmain/Debug ../SDL_mixer/VisualC/Debug
LIBS += -llibeay32
LIBS += -lssleay32
}
win32-g++{
LIBPATH += Release/lib
#LIBPATH += Debug/lib
LIBPATH += ../SDL/lib ../SDL_mixer/lib
LIBS += -lcrypto
LIBS += -lssl
LIBS += -lboost_thread-mgw34-mt-1_34_1
}
exists( ../boost/stage/lib/libboost_thread-mgw42-mt-1_34_1.a ){
LIBS += -lboost_thread-mgw42-mt-1_34_1
}
exists( ../boost/stage/lib/libboost_filesystem-mgw34-mt-1_34_1.a ){
LIBS += -lboost_filesystem-mgw34-mt-1_34_1
}
exists( ../boost/stage/lib/libboost_filesystem-mgw42-mt-1_34_1.a ){
LIBS += -lboost_filesystem-mgw42-mt-1_34_1
}
LIBS += -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lole32 -luuid -luser32 -lmsimg32 -lshell32 -lkernel32 -lws2_32 -ladvapi32 -lsdl -lsdlmain -lsdl_mixer
RC_FILE = pokerth.rc
}
!win32{
+13 -14
View File
@@ -122,21 +122,20 @@ win32 {
#LIBPATH += Debug/lib
LIBS += -lpokerth_lib
LIBS += -llibeay32
LIBS += -lssleay32
win32-msvc2005{
LIBS += -llibeay32
LIBS += -lssleay32
}
win32-g++{
LIBS += -lcrypto
LIBS += -lssl
LIBS += -lboost_thread-mgw34-mt-1_34_1
LIBS += -lboost_filesystem-mgw34-mt-1_34_1
}
LIBS += -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lole32 -luuid -luser32 -lmsimg32 -lshell32 -lkernel32 -lws2_32 -ladvapi32
exists( ../boost/stage/lib/libboost_thread-mgw34-mt-1_34_1.a ){
LIBS += -lboost_thread-mgw34-mt-1_34_1
}
exists( ../boost/stage/lib/libboost_thread-mgw42-mt-1_34_1.a ){
LIBS += -lboost_thread-mgw42-mt-1_34_1
}
exists( ../boost/stage/lib/libboost_filesystem-mgw34-mt-1_34_1.a ){
LIBS += -lboost_filesystem-mgw34-mt-1_34_1
}
exists( ../boost/stage/lib/libboost_filesystem-mgw42-mt-1_34_1.a ){
LIBS += -lboost_filesystem-mgw42-mt-1_34_1
}
}
!win32 {
DEPENDPATH += src/net/linux/ src/core/linux