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
2f30a619
Commit
2f30a619
authored
Sep 16, 2021
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix static builds
parent
7b2cb2b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
CMakeLists.txt
CMakeLists.txt
+7
-3
No files found.
CMakeLists.txt
View file @
2f30a619
...
@@ -314,9 +314,9 @@ function(caf_add_component name)
...
@@ -314,9 +314,9 @@ function(caf_add_component name)
endif
()
endif
()
endforeach
()
endforeach
()
set
(
pub_lib_target
"libcaf_
${
name
}
"
)
set
(
pub_lib_target
"libcaf_
${
name
}
"
)
set
(
obj_lib_target
"libcaf_
${
name
}
_obj"
)
set
(
tst_bin_target
"caf-
${
name
}
-test"
)
if
(
CAF_ENABLE_TESTING AND CAF_ADD_COMPONENT_TEST_SOURCES
)
if
(
CAF_ENABLE_TESTING AND CAF_ADD_COMPONENT_TEST_SOURCES
)
set
(
obj_lib_target
"libcaf_
${
name
}
_obj"
)
set
(
tst_bin_target
"caf-
${
name
}
-test"
)
set
(
targets
${
pub_lib_target
}
${
obj_lib_target
}
${
tst_bin_target
}
)
set
(
targets
${
pub_lib_target
}
${
obj_lib_target
}
${
tst_bin_target
}
)
add_library
(
${
obj_lib_target
}
OBJECT
add_library
(
${
obj_lib_target
}
OBJECT
${
CAF_ADD_COMPONENT_HEADERS
}
${
CAF_ADD_COMPONENT_SOURCES
}
)
${
CAF_ADD_COMPONENT_HEADERS
}
${
CAF_ADD_COMPONENT_SOURCES
}
)
...
@@ -345,7 +345,11 @@ function(caf_add_component name)
...
@@ -345,7 +345,11 @@ function(caf_add_component name)
target_link_libraries
(
${
pub_lib_target
}
${
CAF_ADD_COMPONENT_DEPENDENCIES
}
)
target_link_libraries
(
${
pub_lib_target
}
${
CAF_ADD_COMPONENT_DEPENDENCIES
}
)
if
(
CAF_ADD_COMPONENT_ENUM_TYPES
)
if
(
CAF_ADD_COMPONENT_ENUM_TYPES
)
foreach
(
enum_name
${
CAF_ADD_COMPONENT_ENUM_TYPES
}
)
foreach
(
enum_name
${
CAF_ADD_COMPONENT_ENUM_TYPES
}
)
caf_add_enum_type
(
${
obj_lib_target
}
${
enum_name
}
)
if
(
obj_lib_target
)
caf_add_enum_type
(
${
obj_lib_target
}
${
enum_name
}
)
else
()
caf_add_enum_type
(
${
pub_lib_target
}
${
enum_name
}
)
endif
()
endforeach
()
endforeach
()
endif
()
endif
()
foreach
(
target
${
targets
}
)
foreach
(
target
${
targets
}
)
...
...
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