Merge pull request #12 from davel/davel/sqsh
[debian-nspark.git] / COMPILING
blob9f862b426f5379b31060d91aefa876602d3c21ff
1 Build with makefiles on Unix, Windows and RISC OS
2 ===================================================
4 To compile on Windows with Microsoft Visual Studio:
5   Open a Microsoft Visual Studio command prompt
6   nmake -f win32\makefile
8 To compile on Windows with MinGW:
9   mingw32-make -f makefile.gcc SYSTYPE=WINNT
11 To compile on Unix:
12   make -f makefile.gcc
14 To compile on RISC OS:
15   make -f makefile.gcc SYSTYPE=RISCOS
17 Build with cmake
18 ==================
20 To compile on Windows with Microsoft Visual Studo:
21   Open a Microsoft Visual Studio command prompt
22   mkdir build
23   cd build
24   cmake ..
25   cmake --build . --config Release
27 To compile on Windows with MinGW:
28   mkdir -p build
29   cd build
30   cmake -G "MinGW Makefiles" ..
31   cmake --build .
33 To compile on Unix:
34   mkdir -p build
35   cd build
36   cmake ..
37   cmake --build .
39 If you are using another compiler suite then get cmake to generate the correct
40 makefiles
42 Build on MSDOS
43 =================
45 Tested with Borland C 3.1
46 copy nspark\msdos\nspark.prj to nspark then, from the nspark directory, run:
47   bc31 /b nspark.prj