Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #GraphicsModule
- #ProjectRoot/src/cacGraphics
- #create target. It's an INTERFACE target, cause it doesn't have any .cpp source files. It's a header only lib.
- add_library(cacGraphics INTERFACE)
- #different include paths. One while building, one after installing. Just specifiyng interface headers in this case
- target_include_directories(cacGraphics INTERFACE
- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/Cacatuidae/>
- $<INSTALL_INTERFACE:include/>
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement