feat update version from 0.1.0 to 0.1.1
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-arm82 (push) Failing after 35s
linux-aarch64-cpu-gcc / linux-gcc (push) Failing after 1m40s
linux-arm-gcc / linux-gcc-arm (push) Failing after 2m9s
linux-aarch64-cpu-gcc / linux-gcc-arm86 (push) Failing after 1m6s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 46s
linux-arm-gcc / linux-gcc-armhf (push) Failing after 1m56s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 1m52s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m18s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 30m26s

This commit is contained in:
tqcq 2024-04-01 10:56:15 +08:00
parent 4d7fc07463
commit 03fa2838a8

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.10) cmake_minimum_required(VERSION 3.10)
project( project(
sled sled
VERSION 0.1.0 VERSION 0.1.1
LANGUAGES C CXX) LANGUAGES C CXX)
set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD 11)
@ -148,7 +148,8 @@ function(sled_add_test)
endif() endif()
target_include_directories(${SLED_TEST_NAME} PRIVATE ${SLED_TEST_INC_DIRS}) target_include_directories(${SLED_TEST_NAME} PRIVATE ${SLED_TEST_INC_DIRS})
target_link_libraries( target_link_libraries(
${SLED_TEST_NAME} PRIVATE ${SLED_TEST_LIBS} sled $<IF:$<BOOL:${SLED_NO_MAIN}>,,test_main>) ${SLED_TEST_NAME} PRIVATE ${SLED_TEST_LIBS} sled
$<IF:$<BOOL:${SLED_NO_MAIN}>,,test_main>)
add_test(NAME ${SLED_TEST_NAME} COMMAND ${SLED_TEST_NAME}) add_test(NAME ${SLED_TEST_NAME} COMMAND ${SLED_TEST_NAME})
endfunction() endfunction()