This repository was archived by the owner on Apr 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 135
Windows Install
Simon Ninon edited this page Apr 30, 2017
·
4 revisions
- C++11
This documentation aims to provide the building steps for a Windows environment containing the following tools:
- Appropriate terminal/shell
- Git (throw command-line)
- CMake (throw command-line)
- VS 2012+ (for C++11 support)
The library is based on cmake
for the compilation. In order to build the library, you have to open a terminal and follow these steps:
# Clone the project
git clone https://github.com/Cylix/tacopie.git
# Go inside the the project directory
cd tacopie
# Generate the VC++ solution using CMake
cmake .
# Generate the VC++ solution using CMake, for x64 platform
cmake . -G "Visual Studio 15 2017 Win64" # Or any other valid platform/compiler version.
This will generate a tacopie.sln
file (that is, a Visual Studio solution).
- Open this file with Visual Studio.
- Build the solution in the configuration (Debug, Release, ...) and for the platform (32, 64) of your choice.
Then, you can update your VC++ project configuration:
-
VC++ Directories > Include Directories: Add
TACOPIE_FOLDER_PATH/includes
(with the appropriate value ofTACOPIE_FOLDER_PATH
). -
VC++ Directories > Library Directories: Add
TACOPIE_FOLDER_PATH/{Debug|Release|...}/
(with the appropriate value ofTACOPIE_FOLDER_PATH
and configuration). -
Linker > Input > Additional Dependencies: Add
tacopie.lib
.
Finally, you just have to include <tacopie/tacopie>
in your source files.
Please refer to this page of the wiki.
Need more information? Contact me.