-
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.
Create a setup script for Windows that creates cabal.project.local
- Loading branch information
1 parent
13037df
commit d9216e1
Showing
6 changed files
with
19 additions
and
87 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
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,3 @@ | ||
package sdl2 | ||
extra-lib-dirs: "G:\\Projects\\Programming\\yutotakano\\HaskellGameJamTemplate\\sdl2_win_mingw\\lib" | ||
extra-include-dirs: "G:\\Projects\\Programming\\yutotakano\\HaskellGameJamTemplate\\sdl2_win_mingw\\include\\SDL2" |
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,11 @@ | ||
@echo off | ||
|
||
rem Create a cabal.project.local file containing the path to the local SDL2 libraries | ||
|
||
( | ||
echo.package sdl2 | ||
echo. extra-lib-dirs: "%cd:\=\\%\\sdl2_win_mingw\\lib" | ||
echo. extra-include-dirs: "%cd:\=\\%\\sdl2_win_mingw\\include\\SDL2" | ||
)>"cabal.project.local" | ||
echo [32mSetup complete! Try running '[107m[30mcabal run[0m[32m' to build the project.[0m | ||
echo If you encounter problems, try asking Discord. |