Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
922b0e14
Commit
922b0e14
authored
9 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Plain Diff
Merge pull request #27 from justusranvier/cmake
Minor cmake fixes
parents
8c552d34
9635ebe7
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+4
-0
4 additions, 0 deletions
.gitignore
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
Makefile.am
+2
-0
2 additions, 0 deletions
Makefile.am
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
with
9 additions
and
3 deletions
.gitignore
+
4
−
0
View file @
922b0e14
...
@@ -41,3 +41,7 @@ Makefile.in
...
@@ -41,3 +41,7 @@ Makefile.in
*.l[ao]
*.l[ao]
*~
*~
*.pc
*.pc
# KDevelop
.kdev4/
*.kdev4
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
2
−
2
View file @
922b0e14
...
@@ -16,10 +16,10 @@ option (OPENDHT_PYTHON "Build Python bindings" OFF)
...
@@ -16,10 +16,10 @@ option (OPENDHT_PYTHON "Build Python bindings" OFF)
option
(
OPENDHT_TOOLS
"Build DHT tools"
ON
)
option
(
OPENDHT_TOOLS
"Build DHT tools"
ON
)
option
(
OPENDHT_DEBUG
"Build with debug flags"
OFF
)
option
(
OPENDHT_DEBUG
"Build with debug flags"
OFF
)
set
(
CMAKE_CXX_FLAGS
"-std=c++11 -Wno-return-type -Wall -Wextra -Wnon-virtual-dtor
${
CMAKE_CXX_FLAGS
}
"
)
set
(
CMAKE_CXX_FLAGS
"
-pthread
-std=c++11 -Wno-return-type -Wall -Wextra -Wnon-virtual-dtor
${
CMAKE_CXX_FLAGS
}
"
)
find_package
(
GnuTLS 3.1 REQUIRED
)
find_package
(
GnuTLS 3.1 REQUIRED
)
find_package
(
Msgpack 1.
1
REQUIRED
)
find_package
(
Msgpack 1.
2
REQUIRED
)
if
(
OPENDHT_TOOLS
)
if
(
OPENDHT_TOOLS
)
find_package
(
Readline 6 REQUIRED
)
find_package
(
Readline 6 REQUIRED
)
endif
()
endif
()
...
...
This diff is collapsed.
Click to expand it.
Makefile.am
+
2
−
0
View file @
922b0e14
AM_CXXFLAGS
=
-pthread
SUBDIRS
=
src
SUBDIRS
=
src
if
ENABLE_TOOLS
if
ENABLE_TOOLS
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
1
−
1
View file @
922b0e14
...
@@ -74,7 +74,7 @@ AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
...
@@ -74,7 +74,7 @@ AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
PKG_PROG_PKG_CONFIG()
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES([nettle], [nettle >= 2.4])
PKG_CHECK_MODULES([nettle], [nettle >= 2.4])
PKG_CHECK_MODULES([GNUTLS], [gnutls >= 3.1])
PKG_CHECK_MODULES([GNUTLS], [gnutls >= 3.1])
PKG_CHECK_MODULES([msgpack], [msgpack >= 1.
1
])
PKG_CHECK_MODULES([msgpack], [msgpack >= 1.
2
])
AC_ARG_ENABLE([tools], AS_HELP_STRING([--disable-tools],[Disable tools (CLI DHT node)]),,build_tools=yes)
AC_ARG_ENABLE([tools], AS_HELP_STRING([--disable-tools],[Disable tools (CLI DHT node)]),,build_tools=yes)
AM_CONDITIONAL(ENABLE_TOOLS, test x$build_tools == xyes)
AM_CONDITIONAL(ENABLE_TOOLS, test x$build_tools == xyes)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment