cmake: rework dotnet helper functions

This commit is contained in:
Corentin Le Molgat
2024-01-18 10:20:43 +01:00
parent 1c7f210c98
commit dd6da5bf0f
18 changed files with 214 additions and 94 deletions

View File

@@ -33,6 +33,6 @@ target_link_libraries(dotnet_sat PRIVATE ortools::ortools)
if(BUILD_TESTING)
file(GLOB DOTNET_SRCS "*Tests.cs")
foreach(FILE_NAME IN LISTS DOTNET_SRCS)
add_dotnet_test(${FILE_NAME})
add_dotnet_test(FILE_NAME ${FILE_NAME})
endforeach()
endif()