修改目录结构,优化CMakeLists

This commit is contained in:
Jeffrey Hsu 2024-09-16 08:12:23 +08:00
parent a1127e008f
commit 1e9de7c9c2
27 changed files with 6 additions and 26 deletions

View File

@ -21,30 +21,10 @@ add_link_options(
-fsanitize=undefined
)
add_executable(13 13.c)
add_executable(88 88.c)
add_executable(100 100.c)
add_executable(101 101.c)
add_executable(104 104.c)
add_executable(108 108.c)
add_executable(110 110.c)
add_executable(111 111.c)
add_executable(112 112.c)
add_executable(136 136.c)
add_executable(141 141.c)
add_executable(144 144.c)
add_executable(145 145.c)
add_executable(160 160.c)
add_executable(169 169.c)
add_executable(190 190.c)
add_executable(191 191.c)
add_executable(202 202.c)
add_executable(225 225.c)
add_executable(228 228.c)
add_executable(231 231.c)
add_executable(263 263.c)
add_executable(268 268.c)
add_executable(278 278.c)
add_executable(374 374.c)
add_executable(2786 2786.c)
file(GLOB SRC_FILES "src/*.c")
foreach(SRC_FILE ${SRC_FILES})
get_filename_component(EXE_NAME ${SRC_FILE} NAME_WE)
add_executable(${EXE_NAME} ${SRC_FILE})
endforeach()

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File