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
03e1c605
Commit
03e1c605
authored
Nov 25, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
a2505e97
3afaada7
Changes
1
Hide 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 @
03e1c605
...
...
@@ -153,13 +153,23 @@ ENDFUNCTION()
# to mysqld.
MACRO
(
DTRACE_INSTRUMENT_STATIC_LIBS target libs
)
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
}
)
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
}}
)
ENDFOREACH
()
SET
(
obj
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
target
}
_dtrace_all.o
)
ADD_CUSTOM_COMMAND
(
OUTPUT
${
obj
}
DEPENDS
${
libs
}
DEPENDS
${
static_
libs
}
COMMAND
${
CMAKE_COMMAND
}
-DDTRACE=
${
DTRACE
}
-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