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
9aa2ff45
Commit
9aa2ff45
authored
Apr 13, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build without CAF::io target
parent
5fe4bfcb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
tools/CMakeLists.txt
tools/CMakeLists.txt
+11
-10
No files found.
tools/CMakeLists.txt
View file @
9aa2ff45
add_custom_target
(
all_tools
)
add_custom_target
(
all_tools
)
include_directories
(
${
LIBCAF_INCLUDE_DIRS
}
)
macro
(
add name
)
macro
(
add name
)
add_executable
(
${
name
}
${
name
}
.cpp
${
ARGN
}
)
add_executable
(
${
name
}
${
name
}
.cpp
${
ARGN
}
)
target_link_libraries
(
${
name
}
CAF::core CAF::io
)
install
(
FILES
${
name
}
.cpp DESTINATION
${
CMAKE_INSTALL_DATADIR
}
/caf/tools
)
install
(
FILES
${
name
}
.cpp DESTINATION
${
CMAKE_INSTALL_DATADIR
}
/caf/tools/
${
folder
}
)
add_dependencies
(
${
name
}
all_tools
)
add_dependencies
(
${
name
}
all_tools
)
endmacro
()
endmacro
()
if
(
WIN32
)
add
(
caf-vec
)
target_link_libraries
(
caf-vec PRIVATE CAF::core
)
if
(
TARGET CAF::io
)
if
(
WIN32
)
message
(
STATUS
"skip caf-run (not supported on Windows)"
)
message
(
STATUS
"skip caf-run (not supported on Windows)"
)
else
()
else
()
add
(
caf-run
)
add
(
caf-run
)
target_link_libraries
(
caf-run PRIVATE CAF::io CAF::core
)
endif
()
endif
()
endif
()
add
(
caf-vec
)
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