From d630c14e714b320ac5bfb29158d562581a40bf2f Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Fri, 3 Mar 2023 13:26:43 +0800 Subject: [PATCH] Update CMakeLists Define library. --- CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5610583..f9529c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,10 +7,12 @@ include_directories( "${CMAKE_HOME_DIRECTORY}/subprojects/minIni/dev" ) -add_executable( - ini_config +add_library( + ini_config STATIC ini-config.c ini-config.h - int.c - int.h + ini-config/types/int.c + ini-config/types/int.h + ini-config/types/string.c + ini-config/types/string.h )