修复了CTest异常
This commit is contained in:
@ -2,5 +2,7 @@ cmake_minimum_required(VERSION 3.10)
|
||||
Project(STLite-ACM-2024)
|
||||
include(CTest)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -fsanitize=address")
|
||||
add_subdirectory(vector)
|
||||
enable_testing()
|
Reference in New Issue
Block a user