From 3ae900ca2c62d6225704d4fd15b81340576589e2 Mon Sep 17 00:00:00 2001 From: seleznevae Date: Sun, 22 Sep 2019 10:06:05 +0300 Subject: [PATCH] [C] Renamed examples --- examples/{simple_table.c => 1-simple_table.c} | 0 examples/{custom_table.c => 2-custom_table.c} | 0 .../{complex_layout.c => 3-complex_layout.c} | 0 examples/{fill_table.c => 4-fill_table.c} | 0 ...{beautiful_table.c => 5-beautiful_table.c} | 0 examples/{print_styles.c => 6-print_styles.c} | 0 ...border_style.c => 7-custom_border_style.c} | 0 examples/{math_table.c => 8-math_table.c} | 0 ...{non_ascii_table.c => 9-non_ascii_table.c} | 0 examples/CMakeLists.txt | 58 +++++++++---------- 10 files changed, 29 insertions(+), 29 deletions(-) rename examples/{simple_table.c => 1-simple_table.c} (100%) rename examples/{custom_table.c => 2-custom_table.c} (100%) rename examples/{complex_layout.c => 3-complex_layout.c} (100%) rename examples/{fill_table.c => 4-fill_table.c} (100%) rename examples/{beautiful_table.c => 5-beautiful_table.c} (100%) rename examples/{print_styles.c => 6-print_styles.c} (100%) rename examples/{custom_border_style.c => 7-custom_border_style.c} (100%) rename examples/{math_table.c => 8-math_table.c} (100%) rename examples/{non_ascii_table.c => 9-non_ascii_table.c} (100%) diff --git a/examples/simple_table.c b/examples/1-simple_table.c similarity index 100% rename from examples/simple_table.c rename to examples/1-simple_table.c diff --git a/examples/custom_table.c b/examples/2-custom_table.c similarity index 100% rename from examples/custom_table.c rename to examples/2-custom_table.c diff --git a/examples/complex_layout.c b/examples/3-complex_layout.c similarity index 100% rename from examples/complex_layout.c rename to examples/3-complex_layout.c diff --git a/examples/fill_table.c b/examples/4-fill_table.c similarity index 100% rename from examples/fill_table.c rename to examples/4-fill_table.c diff --git a/examples/beautiful_table.c b/examples/5-beautiful_table.c similarity index 100% rename from examples/beautiful_table.c rename to examples/5-beautiful_table.c diff --git a/examples/print_styles.c b/examples/6-print_styles.c similarity index 100% rename from examples/print_styles.c rename to examples/6-print_styles.c diff --git a/examples/custom_border_style.c b/examples/7-custom_border_style.c similarity index 100% rename from examples/custom_border_style.c rename to examples/7-custom_border_style.c diff --git a/examples/math_table.c b/examples/8-math_table.c similarity index 100% rename from examples/math_table.c rename to examples/8-math_table.c diff --git a/examples/non_ascii_table.c b/examples/9-non_ascii_table.c similarity index 100% rename from examples/non_ascii_table.c rename to examples/9-non_ascii_table.c diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 1bc8869..87fa89e 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,46 +1,46 @@ add_executable(${PROJECT_NAME}_simple_table - simple_table.c) + 1-simple_table.c) target_link_libraries(${PROJECT_NAME}_simple_table fort) add_executable(${PROJECT_NAME}_custom_table - custom_table.c) + 2-custom_table.c) target_link_libraries(${PROJECT_NAME}_custom_table fort) -add_executable(${PROJECT_NAME}_fill_table - fill_table.c) -target_link_libraries(${PROJECT_NAME}_fill_table - fort) - -add_executable(${PROJECT_NAME}_custom_border_style - custom_border_style.c) -target_link_libraries(${PROJECT_NAME}_custom_border_style - fort) - -add_executable(${PROJECT_NAME}_print_styles - print_styles.c) -target_link_libraries(${PROJECT_NAME}_print_styles - fort) - -add_executable(${PROJECT_NAME}_math_table - math_table.c) -target_link_libraries(${PROJECT_NAME}_math_table - fort) - -add_executable(${PROJECT_NAME}_beautiful_table - beautiful_table.c) -target_link_libraries(${PROJECT_NAME}_beautiful_table - fort) - add_executable(${PROJECT_NAME}_complex_layout - complex_layout.c) + 3-complex_layout.c) target_link_libraries(${PROJECT_NAME}_complex_layout fort) +add_executable(${PROJECT_NAME}_fill_table + 4-fill_table.c) +target_link_libraries(${PROJECT_NAME}_fill_table + fort) + +add_executable(${PROJECT_NAME}_beautiful_table + 5-beautiful_table.c) +target_link_libraries(${PROJECT_NAME}_beautiful_table + fort) + +add_executable(${PROJECT_NAME}_print_styles + 6-print_styles.c) +target_link_libraries(${PROJECT_NAME}_print_styles + fort) + +add_executable(${PROJECT_NAME}_custom_border_style + 7-custom_border_style.c) +target_link_libraries(${PROJECT_NAME}_custom_border_style + fort) + +add_executable(${PROJECT_NAME}_math_table + 8-math_table.c) +target_link_libraries(${PROJECT_NAME}_math_table + fort) + add_executable(${PROJECT_NAME}_non_ascii_table - non_ascii_table.c) + 9-non_ascii_table.c) target_link_libraries(${PROJECT_NAME}_non_ascii_table fort)