Project uses CMake to generate platform and compiler-specific build files.
optional
pugixml
Options | Description | Default |
---|---|---|
BUILD_EXAMPLES | Build example projects | ON |
BUILD_TESTS | Build all test existing in project | OFF |
BUILD_TMXL_TEST_ONLY | Build test only for TMXL lib | OFF |
BUILD_USE_PUGIXML | Build lib with pugixml support | ON |
BUILD_SHARED_LIBS | Build shared libs | OFF |
- Clone repository, enter to TMXL directory:
git clone https://github.com/eSkry/TMXL && cd ./TMXL
- Run init submodules script:
chmod +x ./initsubmodules.sh && ./initsubmodules.sh
- Build TMXL:
- Run script:
chmod +x ./build.sh && ./build.sh
or create build dir:mkdir build && cd build
and generate Makefile and build:cmake -G "Unix Makefiles" .. -DCMAKE_BUILD_TYPE=Release && cmake --build .
- Run script:
- For install lib and include files run:
make install
- CMake build list:
- Visual Studio 2019:
cmake .. -G "Visual Studio 16 2019"
- Visual Studio 2017:
cmake .. -G "Visual Studio 15 2017 Win64"
- Visual Studio 2015:
cmake .. -G "Visual Studio 14 2015 Win64"
- Visual Studio 2019:
- Open TMXL.sln project
- Run build
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE.md file for details