Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
59add707
Commit
59add707
authored
May 06, 2015
by
Constantin Rack
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1395 from anton-sergeev/master
Add CMake option for perf-tools
parents
3699242c
5f9b2582
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
CMakeLists.txt
CMakeLists.txt
+6
-0
No files found.
CMakeLists.txt
View file @
59add707
...
@@ -648,6 +648,12 @@ set(perf-tools local_lat
...
@@ -648,6 +648,12 @@ set(perf-tools local_lat
inproc_thr
)
inproc_thr
)
if
(
NOT CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
# Why?
if
(
NOT CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
# Why?
option
(
WITH_PERF_TOOL
"Build with perf-tools"
ON
)
else
()
option
(
WITH_PERF_TOOL
"Build with perf-tools"
OFF
)
endif
()
if
(
WITH_PERF_TOOL
)
foreach
(
perf-tool
${
perf-tools
}
)
foreach
(
perf-tool
${
perf-tools
}
)
add_executable
(
${
perf-tool
}
perf/
${
perf-tool
}
.cpp
)
add_executable
(
${
perf-tool
}
perf/
${
perf-tool
}
.cpp
)
target_link_libraries
(
${
perf-tool
}
libzmq
)
target_link_libraries
(
${
perf-tool
}
libzmq
)
...
...
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