-
Notifications
You must be signed in to change notification settings - Fork 23
[EN] Build Sielo
If you want to build Sielo, you must first check if you have all dependencies. To build Sielo you will need at least CMake, Qt 5.10.1 and OpenSSL 1.1.
Qt can be downloaded and installed from the official site. For OpenSSL, their is a pre-compiled version in Sielo for Windows and macOS only. If you are using Linux, you should check your OpenSSL version.
Sielo can be compiled on Windows with MSVC only, macOS 10.11 or later and Linux.
You must first update your configuration in the user-config.cmake
file at the root of the project. You will have to tell your path to Qt.
First, you should open CMake GUI. Then you can set the path to the root CMakeLists in "Where is the source code". The second line edit correspond to the path where the .sln will be generated (it can be at the root or in a "build" folder). Now you can click on "Configure" (choose the appropriate compiler) and "Generate". Here is how you CMake window should looks like (don't worry of all this red) :
The screen is from Windows, but it works the same on macOS.
You have to be sure you can run cmake
command in the terminal. Then, you can create a "vs2017" folder in the root of the project and move your terminal in. After that, the command is cmake -G "Visual Studio 15 2017 Win64" ..
Now you have a Visual Studio solution generated that you can open in Visual Studio.
You simply have to open the root CMakeLists.txt in QtCreator as a project.
You simply have to open the root CMakeLists.txt in CLion as a project.
Open a terminal in the root of Sielo and simple execute this command : cmake make CMakeLists.txt && make
On macOS, the
cmake
command is located inApplications/Cmake.app/Contents/bin/cmake
!
- Introduction
- Créer le projet [Partie 1]
- Créer le projet [Partie 2]
- Les événements [Partie 1]