Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 929 Bytes

File metadata and controls

19 lines (13 loc) · 929 Bytes

CastXML CMake Packaging

This project downloads the binaries of CastXML version 0.3.6 which are built by CastXMLSuperbuild and hosted by kitware.com and adds CMake package scripts next to it in order to create a CMake Package.

Packaging

rem example for using MSBuild + Visual Studio 2017 x64
cmake -G "Visual Studio 15 2017" -A x64 -DCMAKE_INSTALL_PREFIX:PATH=G:\repositories\CastXMLCMake\install -S G:\repositories\CastXMLCMake -B G:\repositories\CastXMLCMake\build
cmake --build g:/repositories/CastXMLCMake/build --config Release --target install

Usage

Define the variable castxml_DIR before executing the find_package(...) for castxml

find_package(castxml 0.3.6 REQUIRED)