Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ee687771
Commit
ee687771
authored
Feb 27, 2016
by
Bernard Spil
Committed by
Sergei Golubchik
Mar 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use /bin/sh
Remove Linuxism. Works fine with a POSIX-compat shell
parent
e69c6e81
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
storage/tokudb/PerconaFT/buildheader/CMakeLists.txt
storage/tokudb/PerconaFT/buildheader/CMakeLists.txt
+2
-2
No files found.
storage/tokudb/PerconaFT/buildheader/CMakeLists.txt
View file @
ee687771
set_directory_properties
(
PROPERTIES INCLUDE_DIRECTORIES
""
)
set_directory_properties
(
PROPERTIES INCLUDE_DIRECTORIES
""
)
file
(
WRITE
"
${
CMAKE_CURRENT_BINARY_DIR
}
/runcat.sh"
"#!/bin/
ba
sh
file
(
WRITE
"
${
CMAKE_CURRENT_BINARY_DIR
}
/runcat.sh"
"#!/bin/sh
out=$1; shift
out=$1; shift
exec
\"
$@
\"
>$out"
)
exec
\"
$@
\"
>$out"
)
...
@@ -8,7 +8,7 @@ add_executable(make_tdb make_tdb.cc)
...
@@ -8,7 +8,7 @@ add_executable(make_tdb make_tdb.cc)
set_property
(
TARGET make_tdb APPEND PROPERTY COMPILE_DEFINITIONS _GNU_SOURCE
)
set_property
(
TARGET make_tdb APPEND PROPERTY COMPILE_DEFINITIONS _GNU_SOURCE
)
add_custom_command
(
add_custom_command
(
OUTPUT
"
${
CMAKE_CURRENT_BINARY_DIR
}
/db.h"
OUTPUT
"
${
CMAKE_CURRENT_BINARY_DIR
}
/db.h"
COMMAND
ba
sh runcat.sh
"
${
CMAKE_CURRENT_BINARY_DIR
}
/db.h"
$<TARGET_FILE:make_tdb>
COMMAND sh runcat.sh
"
${
CMAKE_CURRENT_BINARY_DIR
}
/db.h"
$<TARGET_FILE:make_tdb>
DEPENDS make_tdb
)
DEPENDS make_tdb
)
add_custom_target
(
install_tdb_h DEPENDS
add_custom_target
(
install_tdb_h DEPENDS
"
${
CMAKE_CURRENT_BINARY_DIR
}
/db.h"
)
"
${
CMAKE_CURRENT_BINARY_DIR
}
/db.h"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment