forked from DFHack/dfhack
-
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.
- Loading branch information
Showing
11 changed files
with
75 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
call "%VS100COMNTOOLS%vsvars32.bat" | ||
cd VC2010 | ||
msbuild /m:4 /p:Platform=Win32 /p:Configuration=RelWithDebInfo ALL_BUILD.vcxproj | ||
cd .. |
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,4 @@ | ||
call "%VS100COMNTOOLS%vsvars32.bat" | ||
cd VC2010 | ||
msbuild /m:4 /p:Platform=Win32 /p:Configuration=Release ALL_BUILD.vcxproj | ||
cd .. |
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,6 @@ | ||
IF EXIST DF_PATH.txt SET /P _DF_PATH=<DF_PATH.txt | ||
IF NOT EXIST DF_PATH.txt SET _DF_PATH=%CD%\DF | ||
mkdir VC2010 | ||
cd VC2010 | ||
echo generating a build folder | ||
cmake ..\.. -G"Visual Studio 10" -DCMAKE_INSTALL_PREFIX=%_DF_PATH% -DBUILD_DEVEL=1 -DBUILD_DEV_PLUGINS=1 -DBUILD_DF2MC=1 -DBUILD_DFUSION=1 -DBUILD_STONESENSE=1 -DBUILD_SERVER=1 |
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,7 @@ | ||
IF EXIST DF_PATH.txt SET /P _DF_PATH=<DF_PATH.txt | ||
IF NOT EXIST DF_PATH.txt SET _DF_PATH=%CD%\DF | ||
mkdir VC2010 | ||
cd VC2010 | ||
echo Pre-generating a build folder | ||
cmake ..\.. -G"Visual Studio 10" -DCMAKE_INSTALL_PREFIX=%_DF_PATH% | ||
cmake-gui . |
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,6 @@ | ||
IF EXIST DF_PATH.txt SET /P _DF_PATH=<DF_PATH.txt | ||
IF NOT EXIST DF_PATH.txt SET _DF_PATH=%CD%\DF | ||
mkdir VC2010 | ||
cd VC2010 | ||
echo generating a build folder | ||
cmake ..\.. -G"Visual Studio 10" -DCMAKE_INSTALL_PREFIX=%_DF_PATH% -DBUILD_DEVEL=0 -DBUILD_DEV_PLUGINS=0 -DBUILD_DF2MC=0 -DBUILD_DFUSION=0 -DBUILD_STONESENSE=0 -DBUILD_SERVER=0 |
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,4 @@ | ||
call "%VS100COMNTOOLS%vsvars32.bat" | ||
cd VC2010 | ||
msbuild /m:4 /p:Platform=Win32 /p:Configuration=RelWithDebInfo INSTALL.vcxproj | ||
cd .. |
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,4 @@ | ||
call "%VS100COMNTOOLS%vsvars32.bat" | ||
cd VC2010 | ||
msbuild /m:4 /p:Platform=Win32 /p:Configuration=Release INSTALL.vcxproj | ||
cd .. |
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,4 @@ | ||
call "%VS100COMNTOOLS%vsvars32.bat" | ||
cd VC2010 | ||
msbuild /m:4 /p:Platform=Win32 /p:Configuration=RelWithDebInfo PACKAGE.vcxproj | ||
cd .. |
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,4 @@ | ||
call "%VS100COMNTOOLS%vsvars32.bat" | ||
cd VC2010 | ||
msbuild /m:4 /p:Platform=Win32 /p:Configuration=Release PACKAGE.vcxproj | ||
cd .. |
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,32 @@ | ||
Option Explicit | ||
|
||
Const BIF_returnonlyfsdirs = &H0001 | ||
|
||
Dim wsh, objDlg, objF, fso, spoFile | ||
Set objDlg = WScript.CreateObject("Shell.Application") | ||
Set objF = objDlg.BrowseForFolder (&H0,"Select your DF folder", BIF_returnonlyfsdirs) | ||
|
||
Set fso = CreateObject("Scripting.FileSystemObject") | ||
If fso.FileExists("DF_PATH.txt") Then | ||
fso.DeleteFile "DF_PATH.txt", True | ||
End If | ||
|
||
If IsValue(objF) Then | ||
If InStr(1, TypeName(objF), "Folder") > 0 Then | ||
Set spoFile = fso.CreateTextFile("DF_PATH.txt", True) | ||
spoFile.WriteLine(objF.Self.Path) | ||
End If | ||
End If | ||
|
||
Function IsValue(obj) | ||
' Check whether the value has been returned. | ||
Dim tmp | ||
On Error Resume Next | ||
tmp = " " & obj | ||
If Err <> 0 Then | ||
IsValue = False | ||
Else | ||
IsValue = True | ||
End If | ||
On Error GoTo 0 | ||
End Function |