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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
b995d57a
Commit
b995d57a
authored
Nov 25, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
aeda8609
7d886bcd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
cmake/dtrace.cmake
cmake/dtrace.cmake
+11
-1
No files found.
cmake/dtrace.cmake
View file @
b995d57a
...
@@ -153,13 +153,23 @@ ENDFUNCTION()
...
@@ -153,13 +153,23 @@ ENDFUNCTION()
# to mysqld.
# to mysqld.
MACRO
(
DTRACE_INSTRUMENT_STATIC_LIBS target libs
)
MACRO
(
DTRACE_INSTRUMENT_STATIC_LIBS target libs
)
IF
(
CMAKE_SYSTEM_NAME MATCHES
"SunOS"
AND ENABLE_DTRACE
)
IF
(
CMAKE_SYSTEM_NAME MATCHES
"SunOS"
AND ENABLE_DTRACE
)
# Filter out non-static libraries in the list, if any
SET
(
static_libs
)
FOREACH
(
lib
${
libs
}
)
FOREACH
(
lib
${
libs
}
)
GET_TARGET_PROPERTY
(
libtype
${
lib
}
TYPE
)
IF
(
libtype MATCHES STATIC_LIBRARY
)
SET
(
static_libs
${
static_lics
}
${
lib
}
)
ENDIF
()
ENDFOREACH
()
FOREACH
(
lib
${
static_libs
}
)
SET
(
dirs
${
dirs
}
${
TARGET_OBJECT_DIRECTORY_
${
lib
}}
)
SET
(
dirs
${
dirs
}
${
TARGET_OBJECT_DIRECTORY_
${
lib
}}
)
ENDFOREACH
()
ENDFOREACH
()
SET
(
obj
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
target
}
_dtrace_all.o
)
SET
(
obj
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
target
}
_dtrace_all.o
)
ADD_CUSTOM_COMMAND
(
ADD_CUSTOM_COMMAND
(
OUTPUT
${
obj
}
OUTPUT
${
obj
}
DEPENDS
${
libs
}
DEPENDS
${
static_
libs
}
COMMAND
${
CMAKE_COMMAND
}
COMMAND
${
CMAKE_COMMAND
}
-DDTRACE=
${
DTRACE
}
-DDTRACE=
${
DTRACE
}
-DOUTFILE=
${
obj
}
-DOUTFILE=
${
obj
}
...
...
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