-
Notifications
You must be signed in to change notification settings - Fork 31
Compiling crashdetect from source
Zeex edited this page Jul 5, 2012
·
2 revisions
To build crashdetect you will need CMake 2.8.6 or newer:
http://www.cmake.org/cmake/resources/software.html
You have two options:
-
Download a tarball or zip from the Downloads section:
-
Clone Git repository:
git clone git://github.com/Zeex/samp-crashdetect-plugin.git crashdetect
Run these commands in terminal:
cd path/to/crashdetect/root
mkdir build
cd build
cmake ../
make
-
Ater installing CMake open CMake GUI frontend:
Start Menu -> All Programs -> CMake 2.8 -> CMake (cmake-gui)
-
Set path to source and output directories, for example:
- Where is the source code:
C:\Users\Zeex\samp-server\crashdetect - Where to build binaries:
C:\Users\Zeex\samp-server\crashdetect\build
- Where is the source code:
-
Hit Configure. CMake will ask you to choose a generator, select your favourite tool there (leaving "Use native compilers" as is).
-
And finally, press the Generate button.
OK! Now use the tool that you've specified to open/compile generated project(s).