refactor(build): remove myclib submodule
This commit is contained in:
9
.gitmodules
vendored
9
.gitmodules
vendored
@@ -1,6 +1,3 @@
|
||||
[submodule "doxygen-awesome-css"]
|
||||
path = doxygen-awesome-css
|
||||
url = https://github.com/jothepro/doxygen-awesome-css.git
|
||||
[submodule "include/myclib"]
|
||||
path = include/myclib
|
||||
url = https://github.com/FrancescoRocca/myclib
|
||||
[submodule "doxygen-awesome-css"]
|
||||
path = doxygen-awesome-css
|
||||
url = https://github.com/jothepro/doxygen-awesome-css.git
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
myclib = files('myclib/hashmap/myhashmap.c')
|
||||
myclib += files('myclib/string/mystring.c')
|
||||
myclib += files('myclib/queue/myqueue.c')
|
||||
Submodule include/myclib deleted from 3bfd7faa24
37
meson.build
37
meson.build
@@ -1,19 +1,18 @@
|
||||
project('cws', 'c', version : '0.1.0')
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
subdir('src')
|
||||
subdir('include')
|
||||
|
||||
incdir = include_directories('include')
|
||||
|
||||
libssl = dependency('libssl')
|
||||
libyaml = dependency('yaml-0.1')
|
||||
libcyaml = dependency('libcyaml')
|
||||
libmath = cc.find_library('m', required : true)
|
||||
deps = [libssl, libyaml, libcyaml, libmath]
|
||||
|
||||
add_global_arguments('-DUSE_COLORS', language : 'c')
|
||||
add_global_arguments('-DEVELOPER', language : 'c')
|
||||
|
||||
executable('cws', server + myclib, include_directories : incdir, dependencies : deps)
|
||||
project('cws', 'c', version : '0.1.0')
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
subdir('src')
|
||||
|
||||
incdir = include_directories('include')
|
||||
|
||||
libssl = dependency('libssl')
|
||||
libyaml = dependency('yaml-0.1')
|
||||
libcyaml = dependency('libcyaml')
|
||||
libmath = cc.find_library('m', required : true)
|
||||
deps = [libssl, libyaml, libcyaml, libmath]
|
||||
|
||||
add_global_arguments('-DUSE_COLORS', language : 'c')
|
||||
add_global_arguments('-DEVELOPER', language : 'c')
|
||||
|
||||
executable('cws', server + myclib, include_directories : incdir, dependencies : deps)
|
||||
|
||||
Reference in New Issue
Block a user