Skip to content

Commit

Permalink
cmake: Add c_api to math_opt
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Sep 5, 2023
1 parent 9a1313b commit d89cb4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ortools/math_opt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ if(NOT BUILD_MATH_OPT)
endif()

file(GLOB_RECURSE _SRCS "*.h" "*.cc")
list(FILTER _SRCS EXCLUDE REGEX "/c_api/")
list(FILTER _SRCS EXCLUDE REGEX "/[^/]*_test\\.cc$")
list(FILTER _SRCS EXCLUDE REGEX "/c_api/.*example")
list(FILTER _SRCS EXCLUDE REGEX "/tools/")
list(FILTER _SRCS EXCLUDE REGEX "/samples/")

Expand Down

0 comments on commit d89cb4d

Please sign in to comment.