Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmp_tool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominik Loidolt
cmp_tool
Commits
23ced4e5
Commit
23ced4e5
authored
2 years ago
by
Dominik Loidolt
Browse files
Options
Downloads
Patches
Plain Diff
set windows flags if system is cygwin
parent
bba15752
No related branches found
No related tags found
1 merge request
!11
decompression/compression for non-imagette data
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
meson.build
+2
-1
2 additions, 1 deletion
meson.build
test/cmp_tool/meson.build
+1
-1
1 addition, 1 deletion
test/cmp_tool/meson.build
with
3 additions
and
2 deletions
meson.build
+
2
−
1
View file @
23ced4e5
...
@@ -7,7 +7,8 @@ project('cmp_tool', 'c',
...
@@ -7,7 +7,8 @@ project('cmp_tool', 'c',
add_project_arguments
(
'-DDEBUGLEVEL=1'
,
language
:
'c'
)
add_project_arguments
(
'-DDEBUGLEVEL=1'
,
language
:
'c'
)
if
host_machine
.
system
()
==
'windows'
and
meson
.
get_compiler
(
'c'
).
get_id
()
==
'gcc'
if
(
host_machine
.
system
()
==
'windows'
or
host_machine
.
system
()
==
'cygwin'
)
and
meson
.
get_compiler
(
'c'
).
get_id
()
==
'gcc'
# by default, MinGW on win32 behaves as if it ignores __attribute__((packed)),
# by default, MinGW on win32 behaves as if it ignores __attribute__((packed)),
# you need to add -mno-ms-bitfields to make it work as expected.
# you need to add -mno-ms-bitfields to make it work as expected.
# See: https://wintermade.it/blog/posts/__attribute__packed-on-windows-is-ignored-with-mingw.html
# See: https://wintermade.it/blog/posts/__attribute__packed-on-windows-is-ignored-with-mingw.html
...
...
This diff is collapsed.
Click to expand it.
test/cmp_tool/meson.build
+
1
−
1
View file @
23ced4e5
...
@@ -8,5 +8,5 @@ if pytest.found()
...
@@ -8,5 +8,5 @@ if pytest.found()
depends
:
cmp_tool_exe
,
depends
:
cmp_tool_exe
,
workdir
:
meson
.
project_build_root
())
workdir
:
meson
.
project_build_root
())
else
else
message
(
'Pytest framework not found! Skipping integration tests.'
)
message
(
'Pytest framework not found! Skipping integration tests.
Run pip install pytest.
'
)
endif
endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment