Skip to content

Commit

Permalink
🔖 Bump version to v0.8.8; clean CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
heavywatal committed Oct 28, 2024
1 parent c245792 commit aad636c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
cmake_minimum_required(VERSION 3.15)
project(clippson
VERSION 0.8.7
VERSION 0.8.8
LANGUAGES CXX)

cmake_policy(SET CMP0076 NEW)
set(CMAKE_VERBOSE_MAKEFILE ON)
include(CMakePrintHelpers)
include(FetchContent)
Expand Down
5 changes: 2 additions & 3 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
link_libraries(${PROJECT_NAME}::${PROJECT_NAME})
add_compile_options(-Wall -Wextra -pedantic)

set(source_files
example.cpp
types_target.cpp
Expand All @@ -14,6 +11,8 @@ foreach(src IN LISTS source_files)
set_target_properties(test-${name_we} PROPERTIES
CXX_EXTENSIONS OFF
)
target_link_libraries(test-${name_we} PRIVATE ${PROJECT_NAME}::${PROJECT_NAME})
target_compile_options(test-${name_we} PRIVATE -Wall -Wextra -pedantic)
add_test(NAME ${name_we} COMMAND $<TARGET_FILE:test-${name_we}> -h)
endforeach()

Expand Down

0 comments on commit aad636c

Please sign in to comment.