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
405a7495
Commit
405a7495
authored
Feb 09, 2015
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1345 from QbaseLLC/bzimmerman_CMAKE
Bzimmerman cmake
parents
c9418db6
c743bd95
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
14 deletions
+15
-14
CMakeLists.txt
CMakeLists.txt
+0
-0
FindAsciiDoc.cmake
builds/cmake/Modules/FindAsciiDoc.cmake
+8
-9
CMakeLists.txt
tests/CMakeLists.txt
+7
-5
No files found.
CMakeLists.txt
View file @
405a7495
This diff is collapsed.
Click to expand it.
builds/cmake/Modules/FindAsciiDoc.cmake
View file @
405a7495
...
...
@@ -7,17 +7,16 @@
# A2X_FOUND - If false, don't attempt to use a2x.
find_program
(
ASCIIDOC_EXECUTABLE asciidoc asciidoc.py
PATHS
"$ENV{ASCIIDOC_ROOT}
"
"$ENV{PROGRAMW6432}
/asciidoc"
"$ENV{PROGRAMFILES}
/asciidoc"
"$ENV{PROGRAMFILES(X86)}
/asciidoc"
)
PATHS
ENV
"ASCIIDOC_ROOT
"
ENV
"PROGRAMW6432"
PATH_SUFFIXES
"
/asciidoc"
ENV
"PROGRAMFILES"
PATH_SUFFIXES
"
/asciidoc"
ENV
"PROGRAMFILES(X86)"
PATH_SUFFIXES
"
/asciidoc"
)
find_program
(
A2X_EXECUTABLE a2x
PATHS
"$ENV{ASCIIDOC_ROOT}"
"$ENV{PROGRAMW6432}/asciidoc"
"$ENV{PROGRAMFILES}/asciidoc"
"$ENV{PROGRAMFILES(X86)}/asciidoc"
)
PATHS ENV
"ASCIIDOC_ROOT"
ENV
"PROGRAMW6432"
PATH_SUFFIXES
"/asciidoc"
ENV
"PROGRAMFILES"
PATH_SUFFIXES
"/asciidoc"
ENV
"PROGRAMFILES(X86)"
PATH_SUFFIXES
"/asciidoc"
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_ARGS
(
AsciiDoc REQUIRED_VARS ASCIIDOC_EXECUTABLE
)
...
...
tests/CMakeLists.txt
View file @
405a7495
...
...
@@ -61,16 +61,18 @@ if(NOT WIN32)
endif
()
foreach
(
test
${
tests
}
)
add_executable
(
${
test
}
${
test
}
.cpp
)
target_link_libraries
(
${
test
}
libzmq
)
add_executable
(
"
${
test
}
"
"
${
test
}
.cpp"
)
target_link_libraries
(
"
${
test
}
"
libzmq
)
set_target_properties
(
"
${
test
}
"
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY
"
${
CMAKE_CURRENT_BINARY_DIR
}
/bin"
)
if
(
RT_LIBRARY
)
target_link_libraries
(
${
test
}
${
RT_LIBRARY
}
)
target_link_libraries
(
"
${
test
}
"
"
${
RT_LIBRARY
}
"
)
endif
()
if
(
WIN32
)
add_test
(
NAME
${
test
}
WORKING_DIRECTORY
${
LIBRARY_OUTPUT_PATH
}
COMMAND
${
test
}
)
add_test
(
NAME
"
${
test
}
"
WORKING_DIRECTORY
"
${
LIBRARY_OUTPUT_PATH
}
"
COMMAND
"
${
test
}
"
)
else
()
add_test
(
NAME
${
test
}
COMMAND
${
test
}
)
add_test
(
NAME
"
${
test
}
"
COMMAND
"
${
test
}
"
)
endif
()
endforeach
()
...
...
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