file(GLOB_RECURSE SOURCES "src/*.cpp") # Create a static library named 'libbettola'. add_library(bettola_lib STATIC ${SOURCES}) # Tell any target that links against this lib to # automagically include the #include' dir. target_include_directories(bettola_lib PUBLIC "include")