Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Testing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JarandJR committed Oct 3, 2023
1 parent bdbecd1 commit dd1fafe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oving5/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ project(c C)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -Wall -Wextra")

add_library(format_string STATIC format_string.c)
target_include_directories(format_string INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(format_string PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})

add_executable(c main.c)
target_link_libraries(c PRIVATE format_string) # Use PRIVATE here
target_link_libraries(c PRIVATE format_string)

enable_testing()
add_subdirectory(tests)

0 comments on commit dd1fafe

Please sign in to comment.