|
|
@@ -5,28 +5,28 @@ set(CMAKE_C_STANDARD 11) |
|
|
|
include(CTest) |
|
|
|
|
|
|
|
include_directories( |
|
|
|
"${CMAKE_HOME_DIRECTORY}/subprojects/minIni/dev" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/minIni/dev" |
|
|
|
) |
|
|
|
|
|
|
|
add_library( |
|
|
|
ini-config STATIC |
|
|
|
source/ini-config.c |
|
|
|
source/ini-config.h |
|
|
|
source/types/int.c |
|
|
|
source/types/int.h |
|
|
|
source/types/string.c |
|
|
|
source/types/string.h |
|
|
|
src/ini-config.c |
|
|
|
src/ini-config.h |
|
|
|
src/types/int.c |
|
|
|
src/types/int.h |
|
|
|
src/types/string.c |
|
|
|
src/types/string.h |
|
|
|
) |
|
|
|
|
|
|
|
add_executable( |
|
|
|
test-int |
|
|
|
subprojects/minIni/dev/minIni.h |
|
|
|
subprojects/minIni/dev/minIni.c |
|
|
|
minIni/dev/minIni.h |
|
|
|
minIni/dev/minIni.c |
|
|
|
tests/test-int.c |
|
|
|
source/ini-config.c |
|
|
|
source/ini-config.h |
|
|
|
source/types/int.c |
|
|
|
source/types/int.h |
|
|
|
src/ini-config.c |
|
|
|
src/ini-config.h |
|
|
|
src/types/int.c |
|
|
|
src/types/int.h |
|
|
|
) |
|
|
|
|
|
|
|
set_target_properties (test-int PROPERTIES RUNTIME_OUTPUT_DIRECTORY tests) |
|
|
|