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
5d5c43ae
Commit
5d5c43ae
authored
May 09, 2015
by
outro56
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add biicode build support
parent
90a18f93
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
91 additions
and
0 deletions
+91
-0
.gitignore
.gitignore
+1
-0
CMakeLists.txt
CMakeLists.txt
+18
-0
biicode.conf
biicode.conf
+66
-0
ignore.bii
ignore.bii
+6
-0
No files found.
.gitignore
View file @
5d5c43ae
...
...
@@ -15,3 +15,4 @@ manual/*.toc
manual/manual.html
manual/variables.tex
*.swp
bii/*
CMakeLists.txt
View file @
5d5c43ae
...
...
@@ -243,6 +243,24 @@ if(CAF_NO_MEM_MANAGEMENT)
add_definitions
(
-DCAF_NO_MEM_MANAGEMENT
)
endif
()
################################################################################
# check for biicode build pipeline #
################################################################################
IF
(
BIICODE
)
# define the biicode target and let it do its thing
ADD_BII_TARGETS
()
# but first specify the compiled/linker options calculated above
string
(
REPLACE
" "
";"
REPLACED_CXX_FLAGS
${
CMAKE_CXX_FLAGS
}
)
target_compile_options
(
${
BII_BLOCK_TARGET
}
INTERFACE
${
REPLACED_CXX_FLAGS
}
)
IF
(
LD_FLAGS STREQUAL
""
)
string
(
REPLACE
" "
";"
REPLACED_LD_FLAGS
${
LD_FLAGS
}
)
target_link_libraries
(
${
BII_BLOCK_TARGET
}
INTERFACE
${
REPLACED_LD_FLAGS
}
)
ENDIF
()
RETURN
()
ENDIF
()
################################################################################
# setup for install target #
...
...
biicode.conf
0 → 100644
View file @
5d5c43ae
# Biicode configuration file
[
requirements
]
[
paths
]
# Local directories to look for headers (within block)
libcaf_core
libcaf_io
libcaf_opencl
libcaf_riac
libcaf_test
[
dependencies
]
# Manual adjust file implicit dependencies, add (+), remove (-), or overwrite (=)
# Nothing depends on the tests
libcaf_core
/
src
/* -
libcaf_core
/
test
/*
libcaf_io
/
src
/* -
libcaf_io
/
test
/*
libcaf_opencl
/
src
/* -
libcaf_opencl
/
unit_testing
/*
libcaf_opencl
/
examples
/*
# The test runner depends on all the tests
libcaf_test
/
src
/
caf
-
test
.
cpp
-
libcaf_opencl
/
unit_testing
/*
libcaf_opencl
/
examples
/*
libcaf_test
/
src
/
caf
-
test
.
cpp
+
libcaf_core
/
test
/*
libcaf_io
/
test
/*
# Always include the license files when any hpp file is referenced
*.
hpp
+ !
LICENSE
!
LICENSE_ALTERNATIVE
!
README
.
md
# Include this helper module so libcaf's makefile can figure out compiler version
* + !
cmake
/
get_compiler_version
.
cpp
[
mains
]
# Manual adjust of files that define an executable
# !main.cpp # Do not build executable from this file
# main2.cpp # Build it (it doesnt have a main() function, but maybe it includes it)
# Don't build this helper module from biicode
!
cmake
/
get_compiler_version
.
cpp
# File has a main method for the tests, but looks can be deceiving
!
libcaf_test
/
caf
/
test
/
unit_test_impl
.
hpp
# It doesn't look like it but this file is the test runner we should build
libcaf_test
/
src
/
caf
-
test
.
cpp
[
tests
]
# Manual adjust of files that define a CTest test
# test/* pattern to evaluate this test/ folder sources like tests
libcaf_test
/
src
/
caf
-
test
.
cpp
libcaf_opencl
/
unit_testing
/*
libcaf_opencl
/
examples
/*
[
hooks
]
# These are defined equal to [dependencies],files names matching bii*stage*hook.py
# will be launched as python scripts at stage = {post_process, clean}
# CMakeLists.txt + bii/my_post_process1_hook.py bii_clean_hook.py
[
includes
]
# Mapping of include patterns to external blocks
# hello*.h: user3/depblock # includes will be processed as user3/depblock/hello*.h
[
data
]
# Manually define data files dependencies, that will be copied to bin for execution
# By default they are copied to bin/user/block/... which should be taken into account
# when loading from disk such data
# image.cpp + image.jpg # code should write open("user/block/image.jpg")
ignore.bii
0 → 100644
View file @
5d5c43ae
build/**
benchmarks/**
cash/**
examples/**
nexus/**
manual/**
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