File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -6,22 +6,22 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
6
6
set (CMAKE_CXX_EXTENSIONS OFF )
7
7
8
8
if (MSVC )
9
- add_compile_options (/W4 /WX /w44388)
9
+ add_compile_options (/W4 /WX /w44388)
10
10
else ()
11
- add_compile_options (-Wall -Wextra -pedantic -Werror)
11
+ add_compile_options (-Wall -Wextra -pedantic -Werror)
12
12
endif ()
13
13
14
14
include_directories (.)
15
15
16
16
option (BUILD_EXAMPLES "Build examples" OFF )
17
17
18
18
if (BUILD_EXAMPLES)
19
- add_subdirectory (Examples)
19
+ add_subdirectory (Examples)
20
20
endif ()
21
21
22
22
option (BUILD_TESTS "Build unit tests" OFF )
23
23
24
24
if (BUILD_TESTS)
25
- enable_testing ()
26
- add_subdirectory (Tests)
25
+ enable_testing ()
26
+ add_subdirectory (Tests)
27
27
endif ()
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ file(GLOB SOURCES *.cpp)
5
5
find_package (Threads REQUIRED)
6
6
7
7
foreach (SOURCE ${SOURCES} )
8
- get_filename_component (BIN_NAME ${SOURCE} NAME_WE )
9
- add_executable (${BIN_NAME} ${SOURCE} )
10
- target_link_libraries (${BIN_NAME} PRIVATE Threads::Threads)
8
+ get_filename_component (BIN_NAME ${SOURCE} NAME_WE )
9
+ add_executable (${BIN_NAME} ${SOURCE} )
10
+ target_link_libraries (${BIN_NAME} PRIVATE Threads::Threads)
11
11
endforeach ()
You can’t perform that action at this time.
0 commit comments