# my_lib structure: # ================ # build (contains generated files) # Jamfile (current file) # src (sources directory) # cpp (contains all cpp files and private header files) # include (contains all public header files) # proto (contains all proto files) project : requirements all on -Wno-long-long : default-build debug release : build-dir build ; # /protobuf is an alias to the installed protobuf library, where the Jamroot file is responsible for # - loading the protoc module via modules.load protoc : : . ; # - registering protoc tool via using protoc : ./bin/protoc ; lib my_proto_generate : /protobuf//protobuf [ glob src/proto/*.proto ] : ; explicit my_proto_generate ; lib my_lib : [ glob src/cpp/*.cpp ] : src/cpp src/cpp/include my_proto_generate : : src/cpp/include ;