Browse Source

Update directory

Use Meson-friendly structure.
master
TheoryOfNekomata 10 months ago
parent
commit
f0d08e776b
10 changed files with 16 additions and 16 deletions
  1. +2
    -2
      .gitmodules
  2. +13
    -13
      CMakeLists.txt
  3. +1
    -0
      minIni
  4. +0
    -0
      src/ini-config.c
  5. +0
    -0
      src/ini-config.h
  6. +0
    -0
      src/types/int.c
  7. +0
    -0
      src/types/int.h
  8. +0
    -0
      src/types/string.c
  9. +0
    -0
      src/types/string.h
  10. +0
    -1
      subprojects/minIni

+ 2
- 2
.gitmodules View File

@@ -1,3 +1,3 @@
[submodule "subprojects/minIni"]
path = subprojects/minIni
[submodule "minIni"]
path = minIni
url = https://github.com/compuphase/minIni.git url = https://github.com/compuphase/minIni.git

+ 13
- 13
CMakeLists.txt View File

@@ -5,28 +5,28 @@ set(CMAKE_C_STANDARD 11)
include(CTest) include(CTest)


include_directories( include_directories(
"${CMAKE_HOME_DIRECTORY}/subprojects/minIni/dev"
"${CMAKE_HOME_DIRECTORY}/minIni/dev"
) )


add_library( add_library(
ini-config STATIC 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( add_executable(
test-int test-int
subprojects/minIni/dev/minIni.h
subprojects/minIni/dev/minIni.c
minIni/dev/minIni.h
minIni/dev/minIni.c
tests/test-int.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) set_target_properties (test-int PROPERTIES RUNTIME_OUTPUT_DIRECTORY tests)


+ 1
- 0
minIni

@@ -0,0 +1 @@
Subproject commit 797be9d2b883222d387732df73945d52c99ec994

source/ini-config.c → src/ini-config.c View File


source/ini-config.h → src/ini-config.h View File


source/types/int.c → src/types/int.c View File


source/types/int.h → src/types/int.h View File


source/types/string.c → src/types/string.c View File


source/types/string.h → src/types/string.h View File


+ 0
- 1
subprojects/minIni

@@ -1 +0,0 @@
Subproject commit 755f9a8b5c3b8d8ced9bd2d9173dd1d1cac8efc2

Loading…
Cancel
Save