mindspore/tests/CMakeLists.txt

9 lines
177 B
CMake
Raw Permalink Normal View History

#add flags
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-sign-compare")
2021-01-23 20:20:31 +08:00
if(ENABLE_TESTCASES)
add_subdirectory(ut)
2021-01-23 20:20:31 +08:00
elseif(ENABLE_CPP_ST)
add_subdirectory(st/cpp)
2021-01-23 20:20:31 +08:00
endif()