- By default don't build dependencies simply call find_package() - By default only build C++ library - IF building Python, Java or .Net wrapper then force build dependencies - Build dependencies as STATIC - Build and Install (in CMAKE_BINARY_DIR) dependencies at configure time
11 lines
162 B
CMake
11 lines
162 B
CMake
if(NOT BUILD_DOTNET)
|
|
return()
|
|
endif()
|
|
|
|
find_package(SWIG)
|
|
find_program (DOTNET_CLI NAMES dotnet)
|
|
|
|
if(BUILD_TESTING)
|
|
add_subdirectory(examples/dotnet)
|
|
endif()
|