cmake: Split math_opt into sub library

XCode do not support object library with several file with the same name
since it use a flat directory, Xcode "fix" using a UID but CMake can't catch it.

math_opt also use a parameters.proto which conflict with the
glop/parameters.proto -> need to split the proto to .cc generation in
two libraries
This commit is contained in:
Mizux Seiha
2023-09-20 16:15:45 +02:00
committed by Corentin Le Molgat
parent a42814c06b
commit d8634ab0f2
36 changed files with 636 additions and 215 deletions

View File

@@ -28,5 +28,5 @@ target_link_libraries(${NAME} PRIVATE
absl::flags
absl::strings
protobuf::libprotobuf
${PROJECT_NAME}::proto)
#add_library(${PROJECT_NAME}::init ALIAS ${NAME})
${PROJECT_NAMESPACE}::${PROJECT_NAME}_proto)
#add_library(${PROJECT_NAMESPACE}::init ALIAS ${NAME})