From c3cfb3978d9ffc0ba450f14d1b7724e4c20026af Mon Sep 17 00:00:00 2001 From: yanyiwu Date: Sat, 21 Sep 2024 21:07:12 +0800 Subject: [PATCH] cmake: enable windows/msvc test --- CMakeLists.txt | 2 +- test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 829f6728..b9c2fb4d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ endif() set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) -ADD_DEFINITIONS(-O3 -Wall -g) +ADD_DEFINITIONS(-O3 -g) ADD_SUBDIRECTORY(test) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 4a3d793f..19e04453 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,6 +1,6 @@ SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}) +ADD_EXECUTABLE(load_test load_test.cpp) if(NOT MSVC) - ADD_EXECUTABLE(load_test load_test.cpp) ADD_SUBDIRECTORY(unittest) endif()