Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
90e0ed89
Commit
90e0ed89
authored
Jul 21, 2014
by
Alex Mantel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set correct variables for subprojects, fix install
parent
2da37d13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
CMakeLists.txt
CMakeLists.txt
+4
-1
examples/CMakeLists.txt
examples/CMakeLists.txt
+2
-3
No files found.
CMakeLists.txt
View file @
90e0ed89
...
...
@@ -132,7 +132,7 @@ include_directories(${INCLUDE_DIRS})
# install includes from core
install
(
DIRECTORY libcaf_core/caf/ DESTINATION include/caf FILES_MATCHING PATTERN
"*.hpp"
)
install
(
DIRECTORY libcaf_
io
/cppa/ DESTINATION include/cppa FILES_MATCHING PATTERN
"*.hpp"
)
install
(
DIRECTORY libcaf_
core
/cppa/ DESTINATION include/cppa FILES_MATCHING PATTERN
"*.hpp"
)
# install includes from io
install
(
DIRECTORY libcaf_io/caf/ DESTINATION include/caf FILES_MATCHING PATTERN
"*.hpp"
)
...
...
@@ -160,6 +160,9 @@ add_subdirectory(libcaf_io)
# set io lib for sub directories
set
(
LIBCAF_IO_LIBRARY libcaf_io
)
add_dependencies
(
libcaf_io libcaf_core
)
# set list variable for sub directories
set
(
LIBCAF_LIBRARIES
${
LIBCAF_CORE_LIBRARY
}
${
LIBCAF_IO_LIBRARY
}
)
if
(
NOT
"
${
CAF_NO_UNIT_TESTS
}
"
STREQUAL
"yes"
)
enable_testing
()
add_subdirectory
(
unit_testing
)
...
...
examples/CMakeLists.txt
View file @
90e0ed89
...
...
@@ -15,8 +15,7 @@ macro(add name folder)
add_executable
(
${
name
}
${
folder
}
/
${
name
}
.cpp
${
ARGN
}
)
target_link_libraries
(
${
name
}
${
CMAKE_DL_LIBS
}
${
LIBCAF_CORE_LIBRARY
}
${
LIBCAF_IO_LIBRARY
}
${
LIBCAF_LIBRARIES
}
${
PTHREAD_LIBRARIES
}
${
WSLIB
}
)
add_dependencies
(
${
name
}
all_examples
)
...
...
@@ -55,7 +54,7 @@ if (NOT "${CAF_NO_CURL_EXAMPLES}" STREQUAL "yes")
find_package
(
CURL
)
if
(
CURL_FOUND
)
add_executable
(
curl_fuse curl/curl_fuse.cpp
)
target_link_libraries
(
curl_fuse
${
CMAKE_DL_LIBS
}
${
CAF_LIBRARY
}
${
PTHREAD_LIBRARIES
}
${
CURL_LIBRARY
}
)
target_link_libraries
(
curl_fuse
${
CMAKE_DL_LIBS
}
${
LIBCAF_LIBRARIES
}
${
PTHREAD_LIBRARIES
}
${
CURL_LIBRARY
}
)
add_dependencies
(
curl_fuse all_examples
)
endif
(
CURL_FOUND
)
endif
()
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