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
a4de3df7
Commit
a4de3df7
authored
Feb 12, 2015
by
Doron Somech
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Bzimmerman cmake"
parent
5d42fe1b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
15 deletions
+14
-15
CMakeLists.txt
CMakeLists.txt
+0
-0
FindAsciiDoc.cmake
builds/cmake/Modules/FindAsciiDoc.cmake
+9
-8
CMakeLists.txt
tests/CMakeLists.txt
+5
-7
No files found.
CMakeLists.txt
View file @
a4de3df7
This diff is collapsed.
Click to expand it.
builds/cmake/Modules/FindAsciiDoc.cmake
View file @
a4de3df7
...
...
@@ -7,16 +7,17 @@
# A2X_FOUND - If false, don't attempt to use a2x.
find_program
(
ASCIIDOC_EXECUTABLE asciidoc asciidoc.py
PATHS
ENV
"ASCIIDOC_ROOT
"
ENV
"PROGRAMW6432"
PATH_SUFFIXES
"
/asciidoc"
ENV
"PROGRAMFILES"
PATH_SUFFIXES
"
/asciidoc"
ENV
"PROGRAMFILES(X86)"
PATH_SUFFIXES
"
/asciidoc"
)
PATHS
"$ENV{ASCIIDOC_ROOT}
"
"$ENV{PROGRAMW6432}
/asciidoc"
"$ENV{PROGRAMFILES}
/asciidoc"
"$ENV{PROGRAMFILES(X86)}
/asciidoc"
)
find_program
(
A2X_EXECUTABLE a2x
PATHS ENV
"ASCIIDOC_ROOT"
ENV
"PROGRAMW6432"
PATH_SUFFIXES
"/asciidoc"
ENV
"PROGRAMFILES"
PATH_SUFFIXES
"/asciidoc"
ENV
"PROGRAMFILES(X86)"
PATH_SUFFIXES
"/asciidoc"
)
PATHS
"$ENV{ASCIIDOC_ROOT}"
"$ENV{PROGRAMW6432}/asciidoc"
"$ENV{PROGRAMFILES}/asciidoc"
"$ENV{PROGRAMFILES(X86)}/asciidoc"
)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_ARGS
(
AsciiDoc REQUIRED_VARS ASCIIDOC_EXECUTABLE
)
...
...
tests/CMakeLists.txt
View file @
a4de3df7
...
...
@@ -63,18 +63,16 @@ if(NOT WIN32)
endif
()
foreach
(
test
${
tests
}
)
add_executable
(
"
${
test
}
"
"
${
test
}
.cpp"
)
target_link_libraries
(
"
${
test
}
"
libzmq
)
set_target_properties
(
"
${
test
}
"
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY
"
${
CMAKE_CURRENT_BINARY_DIR
}
/bin"
)
add_executable
(
${
test
}
${
test
}
.cpp
)
target_link_libraries
(
${
test
}
libzmq
)
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