From 557ca6ef1cf0031846a62cd2e282a0b0aea2d534 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Mon, 25 Sep 2023 02:15:27 +0200 Subject: Rename _static to _lib and _exe --- build_and_test.sh | 4 ++-- source/kit/_lib.c | 16 ++++++++++++++++ source/kit/_static.c | 16 ---------------- source/tests/_exe.c | 22 ++++++++++++++++++++++ source/tests/_static.c | 22 ---------------------- 5 files changed, 40 insertions(+), 40 deletions(-) create mode 100644 source/kit/_lib.c delete mode 100644 source/kit/_static.c create mode 100644 source/tests/_exe.c delete mode 100644 source/tests/_static.c diff --git a/build_and_test.sh b/build_and_test.sh index d1a6484..a25cd32 100644 --- a/build_and_test.sh +++ b/build_and_test.sh @@ -121,7 +121,7 @@ echo "" echo "Build kit" $COMPILE ${FLAGS} \ ${FLAG_OBJ}"build/kit${OBJ_POSTFIX}" \ - "source/kit/_static.c" + "source/kit/_lib.c" if [ $? -ne 0 ]; then exit 1 fi @@ -130,7 +130,7 @@ echo "Build kit_test_suite" $COMPILE ${FLAGS} \ ${FLAG_EXE}"build/kit_test_suite${EXE_POSTFIX}" \ "build/kit${OBJ_POSTFIX}" \ - "source/tests/_static.c" \ + "source/tests/_exe.c" \ ${LINK_FLAGS} if [ $? -ne 0 ]; then exit 1 diff --git a/source/kit/_lib.c b/source/kit/_lib.c new file mode 100644 index 0000000..53bd818 --- /dev/null +++ b/source/kit/_lib.c @@ -0,0 +1,16 @@ +#include "allocator.c" +#include "array_ref.c" +#include "dynamic_array.c" +#include "string_builder.c" +#include "file.c" +#include "input_buffer.c" +#include "input_stream.c" +#include "mersenne_twister_64.c" +#include "secure_random.c" +#include "sha256.c" +#include "atomic.win32.c" +#include "threads.posix.c" +#include "threads.win32.c" +#include "shared_memory.posix.c" +#include "shared_memory.win32.c" +#include "xml.c" diff --git a/source/kit/_static.c b/source/kit/_static.c deleted file mode 100644 index 53bd818..0000000 --- a/source/kit/_static.c +++ /dev/null @@ -1,16 +0,0 @@ -#include "allocator.c" -#include "array_ref.c" -#include "dynamic_array.c" -#include "string_builder.c" -#include "file.c" -#include "input_buffer.c" -#include "input_stream.c" -#include "mersenne_twister_64.c" -#include "secure_random.c" -#include "sha256.c" -#include "atomic.win32.c" -#include "threads.posix.c" -#include "threads.win32.c" -#include "shared_memory.posix.c" -#include "shared_memory.win32.c" -#include "xml.c" diff --git a/source/tests/_exe.c b/source/tests/_exe.c new file mode 100644 index 0000000..b406f48 --- /dev/null +++ b/source/tests/_exe.c @@ -0,0 +1,22 @@ +#define KIT_TEST_IMPLEMENTATION +#include "main.test.c" + +#include "array_ref.test.c" +#include "async_function.test.c" +#include "bigint.test.c" +#include "condition_variable.test.c" +#include "dynamic_array.test.c" +#include "file.test.c" +#include "input_buffer.test.c" +#include "input_stream.test.c" +#include "lower_bound.test.c" +#include "mersenne_twister_64.test.c" +#include "move_back.test.c" +#include "mutex.test.c" +#include "secure_random.test.c" +#include "sha256.test.c" +#include "string_ref.test.c" +#include "duration.test.c" +#include "thread.test.c" +#include "xml.test.c" +#include "bench.test.c" diff --git a/source/tests/_static.c b/source/tests/_static.c deleted file mode 100644 index b406f48..0000000 --- a/source/tests/_static.c +++ /dev/null @@ -1,22 +0,0 @@ -#define KIT_TEST_IMPLEMENTATION -#include "main.test.c" - -#include "array_ref.test.c" -#include "async_function.test.c" -#include "bigint.test.c" -#include "condition_variable.test.c" -#include "dynamic_array.test.c" -#include "file.test.c" -#include "input_buffer.test.c" -#include "input_stream.test.c" -#include "lower_bound.test.c" -#include "mersenne_twister_64.test.c" -#include "move_back.test.c" -#include "mutex.test.c" -#include "secure_random.test.c" -#include "sha256.test.c" -#include "string_ref.test.c" -#include "duration.test.c" -#include "thread.test.c" -#include "xml.test.c" -#include "bench.test.c" -- cgit v1.2.3