mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
build: simplify test configuration in CMakeLists.txt
- Removed conditional check for MSVC when adding test commands. - Ensured that test commands are always added regardless of the compiler.
This commit is contained in:
parent
b5dc8e7a35
commit
aa410a69bb
@ -33,11 +33,9 @@ if(CPPJIEBA_BUILD_TESTS)
|
||||
|
||||
message(STATUS "MSVC value: ${MSVC}")
|
||||
ADD_SUBDIRECTORY(test)
|
||||
if(NOT MSVC)
|
||||
ADD_TEST(NAME ./test/test.run COMMAND ./test/test.run)
|
||||
ADD_TEST(NAME ./load_test COMMAND ./load_test)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
# ... other CMake configurations ...
|
||||
|
Loading…
x
Reference in New Issue
Block a user