Skip to content

eSkry/TMXL

Repository files navigation

TMXL

Build

Project uses CMake to generate platform and compiler-specific build files.

Dependencies

CMake options

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

Building on Linux (Unix Makefiles)

  1. Clone repository, enter to TMXL directory: git clone https://github.com/eSkry/TMXL && cd ./TMXL
  2. Run init submodules script: chmod +x ./initsubmodules.sh && ./initsubmodules.sh
  3. 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 .
  4. For install lib and include files run: make install

Building on Window (Visual Studio)

  1. 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"
  2. Open TMXL.sln project
  3. Run build

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Badges

Badge_status Badge_score