20-Coding-Patterns-DesignGu.../CMakeLists.txt

17 lines
564 B
CMake
Raw Normal View History

2023-02-22 07:38:29 +01:00
cmake_minimum_required (VERSION 3.18.4)
project (20_CODING_PATTERNS)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -g")
add_executable(1_longest_substring_with_k_distinct_characters 1_longest_substring_with_k_distinct_characters.cpp)
add_executable(2_num_of_islands 2_num_of_islands.cpp)
add_executable(3_squares_of_a_sorted_array 3_squares_of_a_sorted_array.cpp)
add_executable(5_conflicting_appointments 5_conflicting_appointments.cpp)