chore: add socket to build files
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
BasedOnStyle: Google
|
BasedOnStyle: LLVM
|
||||||
|
|
||||||
UseTab: Always
|
UseTab: Always
|
||||||
TabWidth: 4
|
TabWidth: 4
|
||||||
IndentWidth: 4
|
IndentWidth: 4
|
||||||
|
IndentCaseLabels: true
|
||||||
ColumnLimit: 100
|
ColumnLimit: 100
|
||||||
PointerAlignment: Right
|
PointerAlignment: Right
|
||||||
AllowShortFunctionsOnASingleLine: None
|
AllowShortFunctionsOnASingleLine: None
|
||||||
|
|||||||
10
meson.build
10
meson.build
@@ -1,8 +1,8 @@
|
|||||||
project(
|
project(
|
||||||
'cws',
|
'cws',
|
||||||
'c',
|
'c',
|
||||||
version: '0.1.0',
|
version: '0.1.0',
|
||||||
default_options: ['c_std=c23', 'warning_level=3'],
|
default_options: ['c_std=c23', 'warning_level=3'],
|
||||||
)
|
)
|
||||||
|
|
||||||
cc = meson.get_compiler('c')
|
cc = meson.get_compiler('c')
|
||||||
@@ -22,4 +22,4 @@ deps = [libssl, libyaml, libcyaml, libmath, libmyclib]
|
|||||||
add_global_arguments('-DUSE_COLORS', language: 'c')
|
add_global_arguments('-DUSE_COLORS', language: 'c')
|
||||||
add_global_arguments('-DEVELOPER', language: 'c')
|
add_global_arguments('-DEVELOPER', language: 'c')
|
||||||
|
|
||||||
executable('cws', server, include_directories: incdir, dependencies: deps)
|
executable('cws', server, include_directories: incdir, dependencies: deps)
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ server += files(
|
|||||||
'server/worker.c',
|
'server/worker.c',
|
||||||
)
|
)
|
||||||
server += files('config/config.c')
|
server += files('config/config.c')
|
||||||
server += files('utils/utils.c')
|
server += files('utils/socket.c', 'utils/utils.c')
|
||||||
server += files('http/http.c')
|
server += files('http/http.c')
|
||||||
|
|||||||
Reference in New Issue
Block a user