Add docs/prommpts dir

This commit is contained in:
2026-04-29 21:30:40 -04:00
parent 7e6e5f5081
commit b16421fd08
+12
View File
@@ -0,0 +1,12 @@
Ok. Let's keep the cppbessot_add_generated_libraries target, but make it actually depend on two new targets:
cppbessot_add_generated_cpp_model_libraries and cppbessot_add_generated_odb_libraries.
cppbessot_add_generated_odb_libraries adds the two cppbessot::odb_* lib targets.
The cppbessot_add_generated_cpp_model_libraries target should depend on the db_gen_cpp_headers target, and so a program that links against cppbessot::openai_model_gen should build the db_gen_cpp_headers target for the current DB_SCHEMA_DIR_TO_GENERATE first, during the build stage.
Similarly the two cppbessot::odb_* library targets should depend on the db_gen_odb_logic target, and a program that depends on that cppbessot::odb_* targets should automatically build db_gen_odb_logic target for the current DB_SCHEMA_DIR_TO_GENERATE first, at build time.
Eradicate SCHEMA_DIR completely, and leave behind only DB_SCHEMA_DIR_TO_GENERATE.
cmake configure step should fail if DB_SCHEMA_DIR_TO_GENERATE doesn't exist, or if the openapi model which it uses as its SSOT doesn't exist.