-
Notifications
You must be signed in to change notification settings - Fork 17
Getting Started (Old instructions)
This short guide will explain how to install cmaked2 and run the tests on *nix and Windows.
You need at least CMake version 2.8.1 for installing cmaked2 and, for installing it, you need to have write access to your CMake installation directory.
git clone https://github.com/dcarp/cmaked2.git cmaked2
cd cmaked2/cmaked
mkdir build
cd build
cmake ..
sudo make install
To uninstall run:
xargs rm < install_manifest.txt
See http://cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F
cd cmaked2/tests
mkdir build
cd build
cmake ..
make
make test
The last three commands should run without any error.
NOTE: These instructions are from old mercurial repository and are currently not tested. Try at your own risk!
A prerequisite for building cmaked2 for Windows is Visual Studio. We tested with the free version, Visual Studio Express. Download and setup of Visual Studio is not described here.
Download cmake http://www.cmake.org/files/v2.8/cmake-2.8.2-win32-x86.exe.
Download and install DMD http://ftp.digitalmars.com/dinstaller.exe. It was tested with version 2.048.
Install Git following the instruction from http://windows.github.com.
Using the Visual Studio command prompt, cd to a folder where you want to clone cmaked2. Make sure the command prompt opens with administrator privileges.
You need at least CMake version 2.8.1 for installing cmaked2.
You need to have write access to your CMake installation directory.
git clone https://github.com/dcarp/cmaked2 cmaked2
cd cmaked2/cmaked
mkdir build
cd build
cmake ..
nmake install
cd cmaked2/tests
mkdir build
cd build
cmake ..
nmake
nmake test