1 # This Makefile simply runs cmake from the build directory.
2 # This, of course, triggers an out-of-source build.
3 # Binaries are going to be in build/.
5 default_target: default
8 @echo "To start an out-of-source build, change to the build/ directory"
9 @echo "and run 'cmake ..' to create standard Makefiles. You can then use"
10 @echo "'make' from the build/ directory to compile the project."
12 @echo "To create KDevelop3 project files instead, run 'cmake .. -GKDevelop3'"
13 @echo "from the build/ directory."
15 @echo "Please refer to the INSTALL file for more options, such as"
16 @echo "client/server builds."
20 cd build && cmake .. && make
23 cd build && cmake -DBUILD="mono" .. -G "MinGW Makefiles" && mingw32-make
26 cd build && cmake -DBUILD="core gui" .. -G "MinGW Makefiles" && mingw32-make