Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libmfile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Mayer
libmfile
Commits
a18a0661
Commit
a18a0661
authored
10 years ago
by
Jan Mayer
Browse files
Options
Downloads
Patches
Plain Diff
Better build on windows
parent
62c3bea1
Branches
anniversary
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
CMakeLists.txt
+1
-0
1 addition, 0 deletions
CMakeLists.txt
build.bat
+7
-0
7 additions, 0 deletions
build.bat
test/CMakeLists.txt
+7
-0
7 additions, 0 deletions
test/CMakeLists.txt
with
18 additions
and
0 deletions
.gitignore
+
3
−
0
View file @
a18a0661
...
...
@@ -24,3 +24,6 @@ build/
*.i*86
*.x86_64
*.hex
# IDE Folders
*.idea/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
1
−
0
View file @
a18a0661
...
...
@@ -42,6 +42,7 @@ endif( ${HAVE_SNPRINTF} )
# Check for shared memory via sys/shm.h
include
(
CheckIncludeFile
)
set
(
HAVE_SHM false
)
check_include_file
(
"sys/shm.h"
HAVE_SHM
)
if
(
NOT
${
HAVE_SHM
}
)
add_definitions
(
-DNO_SHM
)
...
...
This diff is collapsed.
Click to expand it.
build.bat
0 → 100644
+
7
−
0
View file @
a18a0661
if
exist
build
\
rmdir
/s /q
build
mkdir
build
cd
build
cmake
..
-G
"Unix Makefiles"
make
make
test
ARGS
=
"-V"
cd
..
\ No newline at end of file
This diff is collapsed.
Click to expand it.
test/CMakeLists.txt
+
7
−
0
View file @
a18a0661
...
...
@@ -5,5 +5,12 @@ add_executable(check_mfile check_mfile.c)
target_link_libraries
(
check_mfile mfile
)
add_dependencies
(
check_mfile mfile
)
if
(
WIN32
)
add_custom_command
(
TARGET check_mfile POST_BUILD
COMMAND
${
CMAKE_COMMAND
}
-E copy
"
${
CMAKE_CURRENT_BINARY_DIR
}
/../libmfile.dll"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/libmfile.dll"
)
endif
(
WIN32
)
add_test
(
run_check_mfile check_mfile
)
add_test
(
run_check_spectra md5sum -c
${
CMAKE_SOURCE_DIR
}
/test/md5sums
)
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