-INCLUDE_DIRECTORIES(
- # LIST HERE YOUR INCLUDE DIRECTORIES
- # EXCEPT BBTK'S AND THE INCLUDE DIRS THAT WERE SET
- # BY INCLUDING A LIBRARY USE FILE
+SET(${BBTK_PACKAGE_NAME}_INCLUDE_DIRS
+ # LIST HERE YOUR ADDITIONAL INCLUDE DIRECTORIES
+ # EXCEPT :
+ # - src
+ # - bbtk dirs
+ # - automatically handled libraries or packages : wx, vtk... (see above)
+ # - the dirs automatically set by other libraries found by FIND_PACKAGE
+ #
+ # HERE WE USE THE std PACKAGE DIRECTLY BECAUSE WE ARE IN THE BBTK BUILD
+ # TREE ITSELF AND WE CANNOT FIND std WITH THE STANDARD MECHANISM
+ # HOWEVER A USER SHOULD USE std BY LISTING IT IN THE VARIABLE
+ # ${BBTK_PACKAGE_NAME}_USE_PACKAGES (see above)
+ ../std/src
+ # The path to the build tree folder is needed to find bbstd_EXPORT.h
+ ${PROJECT_BINARY_DIR}/packages/std/src