Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 493 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 493 Bytes

cmake-ports

Simple build recipe manager for CMake based on ExternalProject. Inspired by https://learn.microsoft.com/en-us/vcpkg/concepts/ports.

npm i cmake-ports
find_package(cmake-ports REQUIRED PATHS node_modules/cmake-ports)

API

declare_port(<specifier> <result> [ARGS <key=value...>] [BYPRODUCTS <path...>] [DEPENDS <target...>])

find_port(<name>)

License

Apache-2.0