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
0db81919
Commit
0db81919
authored
Nov 25, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
3e11fe23
199cb4b7
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 @
0db81919
...
...
@@ -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