Skip to content

Files

Latest commit

7b5b588 · Jun 16, 2017

History

History
33 lines (30 loc) · 567 Bytes

README.md

File metadata and controls

33 lines (30 loc) · 567 Bytes

cppback

Build

Use dev_build flag if you want to build tests also.

cmake -Ddev_build=ON /path/to/cppback/root

Adding to existing project

Add this project as a subdirectory in your projects CMakeLists.txt

...
add_subdirectory(/path/to/cppback/root)
...

and link your executables/libraries against it

...
add_executable(
    some_exe
)
target_link_libraries(
    some_exe
    cppback
)

target_include_directories(
    some_exe
    PUBLIC ${cppback_INCLUDE_DIRS}
)
...

or just copy the headers you need and mix with your other stuff.