pmed / v8pp

Bind C++ functions and classes into V8 JavaScript engine
http://pmed.github.io/v8pp/
Other
887 stars 119 forks source link

#138 Add initial CMake support #161

Closed YarikTH closed 2 years ago

YarikTH commented 2 years ago

CMake is checked to work as a cmake subdirectory and as an installed cmake package.

See usage example at https://github.com/YarikTH/v8pp_cmake_integration_test

pmed commented 2 years ago

Hi,

thank you for the work! I also have an unpublished branch for CMake support, where v8pp/config.hpp is generated from a list of CMakeList.txt options. I will look how to combine it with you approach.

YarikTH commented 2 years ago

Points to improve: