chore: add socket to build files

This commit is contained in:
2025-10-25 01:31:22 +02:00
parent dc71f8872b
commit 32395f00dd
3 changed files with 8 additions and 9 deletions

View File

@@ -1,9 +1,8 @@
BasedOnStyle: Google
BasedOnStyle: LLVM
UseTab: Always
TabWidth: 4
IndentWidth: 4
IndentCaseLabels: true
ColumnLimit: 100
PointerAlignment: Right
AllowShortFunctionsOnASingleLine: None

View File

@@ -1,8 +1,8 @@
project(
'cws',
'c',
version: '0.1.0',
default_options: ['c_std=c23', 'warning_level=3'],
'cws',
'c',
version: '0.1.0',
default_options: ['c_std=c23', 'warning_level=3'],
)
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('-DEVELOPER', language: 'c')
executable('cws', server, include_directories: incdir, dependencies: deps)
executable('cws', server, include_directories: incdir, dependencies: deps)

View File

@@ -5,5 +5,5 @@ server += files(
'server/worker.c',
)
server += files('config/config.c')
server += files('utils/utils.c')
server += files('utils/socket.c', 'utils/utils.c')
server += files('http/http.c')