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
b42e45ad
Commit
b42e45ad
authored
Oct 12, 2012
by
Steve-o
Committed by
Steven McCoy
Oct 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make OpenPGM a CMake option, default disabled.
parent
c53cf0d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
22 deletions
+25
-22
CMakeLists.txt
CMakeLists.txt
+25
-22
No files found.
CMakeLists.txt
View file @
b42e45ad
...
...
@@ -20,6 +20,7 @@ set(OPENPGM_ROOT /libpgm/libpgm-5.1.118-1~dfsg/openpgm/pgm)
set
(
ASCIIDOC_EXECUTABLE c:/cygwin/bin/asciidoc
)
option
(
WITH_DOC
"Build Reference Guide documentation (requires DocBook)"
OFF
)
option
(
WITH_OPENPGM
"Build with support for OpenPGM"
OFF
)
#-----------------------------------------------------------------------------
# force off-tree build
...
...
@@ -145,31 +146,33 @@ set(readme-docs
#-----------------------------------------------------------------------------
# optional modules
#add_definitions(
# -DZMQ_HAVE_OPENPGM
#)
if
(
WITH_OPENPGM
)
add_definitions
(
-DZMQ_HAVE_OPENPGM
)
include_directories
(
${
OPENPGM_ROOT
}
/include
)
if
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
include_directories
(
${
OPENPGM_ROOT
}
/include
)
if
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
# Win64
if
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
set
(
OPENPGM_LIBRARYDIR
${
OPENPGM_ROOT
}
/debug64/lib
)
else
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
set
(
OPENPGM_LIBRARYDIR
${
OPENPGM_ROOT
}
/build64/lib
)
endif
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
else
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
if
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
set
(
OPENPGM_LIBRARYDIR
${
OPENPGM_ROOT
}
/debug64/lib
)
else
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
set
(
OPENPGM_LIBRARYDIR
${
OPENPGM_ROOT
}
/build64/lib
)
endif
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
else
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
# Win32
if
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
set
(
OPENPGM_LIBRARYDIR
${
OPENPGM_ROOT
}
/debug/lib
)
else
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
set
(
OPENPGM_LIBRARYDIR
${
OPENPGM_ROOT
}
/build/lib
)
endif
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
endif
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
link_directories
(
${
OPENPGM_LIBRARYDIR
}
)
if
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
set
(
OPENPGM_LIBRARYDIR
${
OPENPGM_ROOT
}
/debug/lib
)
else
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
set
(
OPENPGM_LIBRARYDIR
${
OPENPGM_ROOT
}
/build/lib
)
endif
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
endif
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
link_directories
(
${
OPENPGM_LIBRARYDIR
}
)
endif
(
WITH_OPENPGM
)
#-----------------------------------------------------------------------------
# source generators
...
...
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