cmake: find proto in algorithms/

This commit is contained in:
Corentin Le Molgat
2023-12-08 14:32:20 +01:00
parent 2649b4284a
commit a87803a881
4 changed files with 4 additions and 0 deletions

View File

@@ -216,6 +216,7 @@ endfunction()
# Generate Protobuf cpp sources
set(OR_TOOLS_PROTO_FILES)
file(GLOB_RECURSE OR_TOOLS_PROTO_FILES RELATIVE ${PROJECT_SOURCE_DIR}
"ortools/algorithms/*.proto"
"ortools/bop/*.proto"
"ortools/constraint_solver/*.proto"
"ortools/glop/*.proto"

View File

@@ -120,6 +120,7 @@ message(STATUS ".Net project build path: ${DOTNET_PROJECT_DIR}")
# Generate Protobuf .Net sources
set(PROTO_DOTNETS)
file(GLOB_RECURSE proto_dotnet_files RELATIVE ${PROJECT_SOURCE_DIR}
"ortools/algorithms/*.proto"
"ortools/bop/*.proto"
"ortools/constraint_solver/*.proto"
"ortools/glop/*.proto"

View File

@@ -90,6 +90,7 @@ message(STATUS "Java project build path: ${JAVA_PROJECT_DIR}")
# Generate Protobuf java sources
set(PROTO_JAVAS)
file(GLOB_RECURSE proto_java_files RELATIVE ${PROJECT_SOURCE_DIR}
"ortools/algorithms/*.proto"
"ortools/bop/*.proto"
"ortools/constraint_solver/*.proto"
"ortools/glop/*.proto"

View File

@@ -139,6 +139,7 @@ search_python_module(
set(PROTO_PYS)
set(PROTO_MYPYS)
file(GLOB_RECURSE proto_py_files RELATIVE ${PROJECT_SOURCE_DIR}
"ortools/algorithms/*.proto"
"ortools/bop/*.proto"
"ortools/constraint_solver/*.proto"
"ortools/glop/*.proto"