Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGAzed committed Jun 13, 2024
1 parent 7ee890a commit 5337700
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ project(SLNOSLAV
LANGUAGES C
)

set(CMAKE_C_FLAGS "-std=c17 -pg -Wall -Werror")
if(MSVC)
set(CMAKE_C_FLAGS "-std=c17 -pg -Wall /WX")
else()
set(CMAKE_C_FLAGS "-std=c17 -pg -Wall -Werror")
endif()

add_subdirectory(external)
add_subdirectory(program)
Expand Down
2 changes: 2 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
enable_testing()

add_subdirectory(unit)
add_subdirectory(blackbox)

0 comments on commit 5337700

Please sign in to comment.