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
fe92e60c
Commit
fe92e60c
authored
Mar 06, 2015
by
Joseph Noir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix variable names to match new find script.
parent
9c3af63c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
libcaf_opencl/CMakeLists.txt
libcaf_opencl/CMakeLists.txt
+3
-3
libcaf_opencl/examples/CMakeLists.txt
libcaf_opencl/examples/CMakeLists.txt
+2
-2
libcaf_opencl/unit_testing/CMakeLists.txt
libcaf_opencl/unit_testing/CMakeLists.txt
+2
-2
No files found.
libcaf_opencl/CMakeLists.txt
View file @
fe92e60c
...
@@ -5,7 +5,7 @@ project(caf_opencl C CXX)
...
@@ -5,7 +5,7 @@ project(caf_opencl C CXX)
# e.g., for creating proper Xcode projects
# e.g., for creating proper Xcode projects
file
(
GLOB LIBCAF_OPENCL_HDRS
"caf/opencl/*.hpp"
)
file
(
GLOB LIBCAF_OPENCL_HDRS
"caf/opencl/*.hpp"
)
if
(
O
PEN
CL_LIBRARIES
)
if
(
O
pen
CL_LIBRARIES
)
# list cpp files excluding platform-dependent files
# list cpp files excluding platform-dependent files
set
(
LIBCAF_OPENCL_SRCS
set
(
LIBCAF_OPENCL_SRCS
src/global.cpp
src/global.cpp
...
@@ -17,10 +17,10 @@ if (OPENCL_LIBRARIES)
...
@@ -17,10 +17,10 @@ if (OPENCL_LIBRARIES)
if
(
NOT
"
${
CAF_BUILD_STATIC_ONLY
}
"
STREQUAL
"yes"
)
if
(
NOT
"
${
CAF_BUILD_STATIC_ONLY
}
"
STREQUAL
"yes"
)
add_library
(
libcaf_opencl SHARED
${
LIBCAF_OPENCL_SRCS
}
add_library
(
libcaf_opencl SHARED
${
LIBCAF_OPENCL_SRCS
}
${
LIBCAF_OPENCL_HDRS
}
${
LIBCAF_OPENCL_HDRS
}
${
O
PENCL_INCLUDE_DIR
}
)
${
O
penCL_INCLUDE_DIRS
}
)
target_link_libraries
(
libcaf_opencl
${
LD_FLAGS
}
target_link_libraries
(
libcaf_opencl
${
LD_FLAGS
}
${
LIBCAF_CORE_LIBRARY
}
${
LIBCAF_CORE_LIBRARY
}
${
O
PEN
CL_LIBRARIES
}
)
${
O
pen
CL_LIBRARIES
}
)
set
(
LIBRARY_SOVERSION
"
${
CAF_VERSION_MAJOR
}
"
)
set
(
LIBRARY_SOVERSION
"
${
CAF_VERSION_MAJOR
}
"
)
set_target_properties
(
libcaf_opencl
set_target_properties
(
libcaf_opencl
PROPERTIES
PROPERTIES
...
...
libcaf_opencl/examples/CMakeLists.txt
View file @
fe92e60c
cmake_minimum_required
(
VERSION 2.8
)
cmake_minimum_required
(
VERSION 2.8
)
project
(
caf_examples_opencl CXX
)
project
(
caf_examples_opencl CXX
)
if
(
O
PEN
CL_LIBRARIES
)
if
(
O
pen
CL_LIBRARIES
)
add_custom_target
(
opencl_examples
)
add_custom_target
(
opencl_examples
)
include_directories
(
${
LIBCAF_INCLUDE_DIRS
}
)
include_directories
(
${
LIBCAF_INCLUDE_DIRS
}
)
if
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Window"
)
if
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Window"
)
...
@@ -16,7 +16,7 @@ if(OPENCL_LIBRARIES)
...
@@ -16,7 +16,7 @@ if(OPENCL_LIBRARIES)
${
LIBCAF_LIBRARIES
}
${
LIBCAF_LIBRARIES
}
${
PTHREAD_LIBRARIES
}
${
PTHREAD_LIBRARIES
}
${
WSLIB
}
${
WSLIB
}
${
O
PEN
CL_LIBRARIES
}
)
${
O
pen
CL_LIBRARIES
}
)
add_dependencies
(
${
name
}
all_examples
)
add_dependencies
(
${
name
}
all_examples
)
endmacro
()
endmacro
()
add
(
proper_matrix .
)
add
(
proper_matrix .
)
...
...
libcaf_opencl/unit_testing/CMakeLists.txt
View file @
fe92e60c
cmake_minimum_required
(
VERSION 2.8
)
cmake_minimum_required
(
VERSION 2.8
)
project
(
caf_unit_tests_opencl CXX
)
project
(
caf_unit_tests_opencl CXX
)
if
(
O
PEN
CL_LIBRARIES
)
if
(
O
pen
CL_LIBRARIES
)
add_custom_target
(
opencl_unit_tests
)
add_custom_target
(
opencl_unit_tests
)
include_directories
(
${
LIBCAF_INCLUDE_DIRS
}
)
include_directories
(
${
LIBCAF_INCLUDE_DIRS
}
)
macro
(
add_unit_test name
)
macro
(
add_unit_test name
)
...
@@ -10,7 +10,7 @@ if (OPENCL_LIBRARIES)
...
@@ -10,7 +10,7 @@ if (OPENCL_LIBRARIES)
${
LD_FLAGS
}
${
LD_FLAGS
}
${
LIBCAF_LIBRARIES
}
${
LIBCAF_LIBRARIES
}
${
PTHREAD_LIBRARIES
}
${
PTHREAD_LIBRARIES
}
${
O
PEN
CL_LIBRARIES
}
)
${
O
pen
CL_LIBRARIES
}
)
add_test
(
${
name
}
${
EXECUTABLE_OUTPUT_PATH
}
/test_
${
name
}
)
add_test
(
${
name
}
${
EXECUTABLE_OUTPUT_PATH
}
/test_
${
name
}
)
add_dependencies
(
test_
${
name
}
all_unit_tests
)
add_dependencies
(
test_
${
name
}
all_unit_tests
)
endmacro
()
endmacro
()
...
...
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