-
Notifications
You must be signed in to change notification settings - Fork 3
Setup: Windows
Taylor Snead edited this page May 26, 2014
·
5 revisions
- CMake
- MinGW (should work with 4.7 and above. Can also just install with Qt)
- MSYS (install to anywhere)
- Clang (3.4+)(Possibly optional but highly preferred as GCC 4.7/4.8 fails to build Bullet physics)
- Git for Windows
Use Git to clone lfant somewhere on your computer, eg. C:/code/lfant
Open your MSYS directory, and run msys.bat. This is a Unix bash terminal for Windows. Using C:/code/lfant as an example lfant directory, run the following (changing x86 to x64 if desired):
cd C:/code/lfant/bin/x86/windows
mkdir build
cd build
cmake ../../../.. -G"MSYS Makefiles" -DARCH=x86 -DCOMPILER=clang
makeStill in MSYS:
cd C:/code/lfant
./new-project.sh C:/code myProject MyProjectThe first parameter is the directory to put the project's folder. The second is the folder name, and the third is the project title, used for class naming. Building works the same way as lfant:
cd C:/code/myProject/bin/x86/windows
mkdir build
cd build
cmake ../../../.. -G"MSYS Makefiles" -DARCH=x86 -DCOMPILER=clang -DEDITOR=OFF
make