[CMake] 判断当前环境支不支持C#

原文链接:https://www.yuque.com/cpptd/cmake/tifr91
cmake系列笔记:https://www.yuque.com/cpptd/cmake

include(CheckLanguage)
check_language( CSharp )
if( CMAKE_CSharp_COMPILER )
  enable_language( CSharp )
  set(CMAKE_SUPPORTS_CSHARP TRUE)
else()
  set(CMAKE_SUPPORTS_CSHARP FALSE)
endif()
上一篇:大数据-数据分析-numpy库-数组的广播机制


下一篇:配置easy3d环境经验总结