Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Setup, Compiling

Lusito edited this page Nov 25, 2017 · 1 revision

The first thing you will want to do is to get ecstasy into your project. Currently there are no pre-built binaries.

ecstasy uses CMake as build-tool.

For projects already using CMake

If you are already using CMake for your project, you are in Luck, as including ecstasy is fairly easy. Check out this demo to see how ecstasy can be included.

Projects who are not using CMake

First of all, I recommend taking a closer look at how CMake works. In short: CMake creates Makefiles, Visual Studio project files, etc. for you so you can easily build the project with the tools you are familiar with.

The default is to build a Debug build, but you can change that with the CMake parameter -DCMAKE_BUILD_TYPE=Release

Linux

Linux usually comes with cmake installed. If not, you'll know how to install it. To create Makefiles, run: cmake -G "Unix Makefiles" then run make make as usual.

NetBeans

NetBeans comes with CMake support built-in. Just create a new C++ Project from existing sources, select the root folder and let it do the magic.

Visual Studio

As said, CMake can create project files for Visual studio. There are a lot of tutorials about this on the net. First google entry is: https://cognitivewaves.wordpress.com/cmake-and-visual-studio/