| 1 |
# |
| 2 |
# Advanced Simulation Library <http://asl.org.il> |
| 3 |
# |
| 4 |
# Copyright 2015 Avtech Scientific <http://avtechscientific.com> |
| 5 |
# |
| 6 |
# |
| 7 |
# This file is part of Advanced Simulation Library (ASL). |
| 8 |
# |
| 9 |
# ASL is free software: you can redistribute it and/or modify it |
| 10 |
# under the terms of the GNU Affero General Public License as |
| 11 |
# published by the Free Software Foundation, version 3 of the License. |
| 12 |
# |
| 13 |
# ASL is distributed in the hope that it will be useful, |
| 14 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
# GNU Affero General Public License for more details. |
| 17 |
# |
| 18 |
# You should have received a copy of the GNU Affero General Public License |
| 19 |
# along with ASL. If not, see <http://www.gnu.org/licenses/>. |
| 20 |
# |
| 21 |
|
| 22 |
|
| 23 |
include(Operators/acloperators.cmake) |
| 24 |
include(aclMath/aclmath.cmake) |
| 25 |
include(DataTypes/acldatatypes.cmake) |
| 26 |
include(Kernels/aclkernels.cmake) |
| 27 |
|
| 28 |
include_directories(${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/acl) |
| 29 |
|
| 30 |
|
| 31 |
# aslacl |
| 32 |
|
| 33 |
set(aslacl_PUBLIC_HEADERS |
| 34 |
${acloperators_PUBLIC_HEADERS} |
| 35 |
${aclmath_PUBLIC_HEADERS} |
| 36 |
${acldatatypes_PUBLIC_HEADERS} |
| 37 |
${aclkernels_PUBLIC_HEADERS} |
| 38 |
aclStdIncludes.h |
| 39 |
aclTypesList.h |
| 40 |
aclTypes.h |
| 41 |
acl.h |
| 42 |
cl.hpp |
| 43 |
aclHardware.h |
| 44 |
aclUtilities.h |
| 45 |
aclElementBase.h |
| 46 |
aclGenerators.h |
| 47 |
) |
| 48 |
|
| 49 |
set(aslacl_SOURCES |
| 50 |
${acloperators_SOURCES} |
| 51 |
${aclmath_SOURCES} |
| 52 |
${acldatatypes_SOURCES} |
| 53 |
${aclkernels_SOURCES} |
| 54 |
acl.cxx |
| 55 |
aclHardware.cxx |
| 56 |
aclUtilities.cxx |
| 57 |
aclElementBase.cxx |
| 58 |
aclGenerators.cxx |
| 59 |
) |
| 60 |
|
| 61 |
add_library(aslacl ${aslacl_PUBLIC_HEADERS} ${aslacl_SOURCES}) |
| 62 |
target_link_libraries(aslacl PUBLIC aslcommon ${OpenCL_LIBRARIES}) |
| 63 |
INSTALL_SUBLIB(aslacl aslacl_PUBLIC_HEADERS) |