Closed JBenda closed 2 years ago
Hi! Finally taking a look at this. I'm only testing the lib
component on Windows since I don't have Unreal.
It looks good, and I got it running with some modifications. Some notes:
inkcpp/include/inkcpp
directory should be renamed to inkcpp/include/ink
#include <ink/story.h>
like in the README.lib
files are required for Debug vs. Release projects. This just uses Release by default.inkcpp/lib/release/
contains: inkcpp.lib
(release), inkcpp_compiler.lib
(release)inkcpp/lib/debug
contains: inkcpp.lib
(debug), inkcpp_compiler.lib
(debug), inkcpp.pdb
, inkcpp_compiler.pdb
It's looking way better! Thank you for your help on this!
Thank you for the feedback ^^
inkcpp/include/ink
to match with the examples.CMAKE_BUILD_TYPE=Debug
the libraries will the debug version, for build systems like ninja and mvsc you need also to define cmake --build . --config Release/Debug
(or at least should, will test it on Windows later this week)
providing both is against the sprite of cmake (where you can decide which version you want to build, at least with my current knowledge).
cmake -B build -DCMAKE_INSTALL_PREFIX=<path>
and defaults to the OS typical installation path, I will properly change the example to use a install
directory beside the build to make this clear ^^
Add different components to allow clean installs, also adds support for cpack and cmake find_package
Description https://github.com/brwarner/inkcpp/wiki/building
inspired from issue #40