Skip to content

Commit

Permalink
Convert code to C.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWiseNoob committed Apr 8, 2024
1 parent 1e37314 commit 149e7c6
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ OMP will only pass build checks if it passes the clang-format pipeline.
Run the below command ONLY in the src folder to cleanup automatically.

```
cd src && clang-format -i *.cc *.h
cd src && clang-format -i *.c *.h
```
3 changes: 1 addition & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
project(
'OMP',
'cpp',
'c',
default_options: [
'cpp_std=c++17',
'warning_level=2',
],
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions src/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
add_project_arguments('-Wno-unused-parameter', language: 'cpp')
add_project_arguments('-Wno-unused-parameter', language: 'c')

gtk = dependency('gtk4', version: '>= 4.6.9')
libadwaita = dependency('libadwaita-1', version: '>= 1.4.alpha')
Expand Down Expand Up @@ -26,11 +26,11 @@ omp_style_resources = gnome.compile_resources(

executable(
program_name, [
'app.cc',
'sidebar.cc',
'content.cc',
'appwin.cc',
'main.cc',
'app.c',
'sidebar.c',
'content.c',
'appwin.c',
'main.c',
omp_resources,
omp_style_resources
],
Expand Down
File renamed without changes.

0 comments on commit 149e7c6

Please sign in to comment.