Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Win32: Further improvements for building
Added config_user.pri for customization and Windows SDK paths, added envconfig.bat for configuring the command line environment, and fixed an issue with the wchar version of DOOMSDAY_VERSION_TEXT.
- Loading branch information
Showing
14 changed files
with
96 additions
and
22 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,19 @@ | ||
@echo off | ||
:: Sets up the command line environment for building. | ||
:: This is automatically called by dorel.bat. | ||
|
||
:: Directory Config ------------------------------------------------------- | ||
|
||
:: Modify these paths for your system. | ||
set MSVC9_DIR=c:\Program Files\Microsoft Visual Studio 9.0 | ||
set QTCREATOR_DIR=c:\QtSDK\QtCreator | ||
set QT_BIN_DIR=c:\QtSDK\Desktop\Qt\4.7.4\msvc2008\bin | ||
|
||
:: Build Tools Setup ------------------------------------------------------ | ||
|
||
:: Visual C++ environment. | ||
call "%MSVC9_DIR%\vc\vcvarsall.bat" | ||
|
||
:: -- Qt environment. | ||
set JOM=%QTCREATOR_DIR%\bin\jom.exe | ||
call "%QT_BIN_DIR%\qtenv2.bat" |
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,24 @@ | ||
# Custom configuration options. | ||
# On all platforms you can apply custom build options here. | ||
# On Windows, you need to use this file to configure your SDK paths. | ||
|
||
# Location of the cURL SDK. | ||
CURL_DIR = "c:/SDK/cURL" | ||
|
||
# Location of the EAX 2.0 SDK. | ||
EAX2_DIR = "c:/SDK/EAX 2.0 SDK" | ||
|
||
# Location of the DirectX SDK. | ||
DIRECTX_DIR = "c:/SDK/DirectX \(March 2009\)" | ||
|
||
# Location of the OpenAL SDK. | ||
OPENAL_DIR = "c:/SDK/OpenAL 1.1 SDK" | ||
|
||
# Location of the GL headers. | ||
OPENGL_DIR = c:/SDK/OpenGL | ||
|
||
# Location of the SDL SDK. | ||
SDL_DIR = c:/SDK/SDL-1.2.14 | ||
|
||
# Location of the SDL_mixer SDK. | ||
SDL_MIXER_DIR = c:/SDK/SDL_mixer-1.2.11 |
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ macx { | |
LIBS += -lcurses | ||
} | ||
else:win32 { | ||
# Curses is not used on Windows. | ||
} | ||
else { | ||
# Generic Unix. | ||
|
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,5 +1,9 @@ | ||
# Build configuration for DirectX. | ||
win32 { | ||
INCLUDEPATH += "C:/SDK/DirectX \(March 2009\)/Include" | ||
LIBS += -L"C:/SDK/DirectX \(March 2009\)/Lib/x86" -ldinput8 -ldsound -ldxguid | ||
isEmpty(DIRECTX_DIR) { | ||
error("dep_directx: DirectX SDK path not defined, check your config_user.pri") | ||
} | ||
|
||
INCLUDEPATH += $$DIRECTX_DIR/Include | ||
LIBS += -L$$DIRECTX_DIR/Lib/x86 -ldinput8 -ldsound -ldxguid | ||
} |
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,10 +1,14 @@ | ||
# Build configuration for EAX. | ||
win32 { | ||
INCLUDEPATH += "C:/SDK/EAX 2.0 SDK/Include" | ||
LIBS += -L"C:/SDK/EAX 2.0 SDK/Libs" -leax -leaxguid | ||
isEmpty(EAX2_DIR) { | ||
error("dep_eax: EAX 2.0 SDK path not defined, check your config_user.pri") | ||
} | ||
|
||
INCLUDEPATH += $$EAX2_DIR/Include | ||
LIBS += -L$$EAX2_DIR/Libs -leax -leaxguid | ||
|
||
# Libraries for the built products. | ||
INSTALLS += eaxlibs | ||
eaxlibs.files = "C:/SDK/EAX 2.0 SDK/dll/eax.dll" | ||
eaxlibs.files = $$EAX2_DIR/dll/eax.dll | ||
eaxlibs.path = $$DENG_WIN_PRODUCTS_DIR | ||
} |
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
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