You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.2 KiB
CMake
33 lines
1.2 KiB
CMake
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)
|
|
|
|
add_executable(6_find_all_missing_numbers 6_find_all_missing_numbers.cpp)
|
|
|
|
add_executable(7_reverse_nodes_in_k_group 7_reverse_nodes_in_k_group.cpp)
|
|
|
|
add_executable(8_binary_tree_level_order_traversal 8_binary_tree_level_order_traversal.cpp)
|
|
|
|
add_executable(9_path_sum_iii 9_path_sum_iii.cpp)
|
|
|
|
add_executable(10_find_the_median_of_a_number_stream 10_find_the_median_of_a_number_stream.cpp)
|
|
|
|
add_executable(11_letter_case_permutation 11_letter_case_permutation.cpp)
|
|
|
|
add_executable(11_permutations_in_string 11_permutations_in_string.cpp)
|
|
|
|
add_executable(14_k_closest_points_to_origin 14_k_closest_points_to_origin.cpp)
|