[asl] 150/177: Install cl.hpp
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Aug 27 09:22:49 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository asl.
commit 4ab6e8f444f4e7a62067028ff5093acf6c775999
Author: Avtech Scientific <AvtechScientific at users.noreply.github.com>
Date: Thu Aug 13 14:21:57 2015 +0300
Install cl.hpp
---
README.md | 2 +-
cmake/ASL.pc.cmake.in | 4 +++-
src/acl/CMakeLists.txt | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 507e14a..cb19d00 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,7 @@ Optionally: change parameters `./asl-locomotive --input locomotive.stl --dx 1 --
1. Take a look on [examples](http://asl.org.il/doc/Developer-Guide/examples.html) and the [API documentation](http://asl.org.il/doc/Developer-Guide/), start with [examples/flow/locomotive.cc](http://asl.org.il/doc/Developer-Guide/locomotive_8cc-example.html)
2. ASL installation supplies `ASL.pc` and `ASLConfig.cmake` files. To build your program using:
-- `pkg-config`: ``c++ `pkg-config --cflags --libs ASL` -o locomotive locomotive.cc``
+- `pkg-config`: ``c++ `pkg-config --cflags --libs ASL` -std=c++11 -o flow flow.cc``
- `cmake`: write a basic `CMakeLists.txt` file:
```cmake
diff --git a/cmake/ASL.pc.cmake.in b/cmake/ASL.pc.cmake.in
index 9d18fe2..7714846 100644
--- a/cmake/ASL.pc.cmake.in
+++ b/cmake/ASL.pc.cmake.in
@@ -7,7 +7,9 @@ Name: @PROJECT_NAME@
Description: @CPACK_PACKAGE_DESCRIPTION_SUMMARY@
URL: http://asl.org.il
Version: @ASL_VERSION@
-# It should probably be like this:
+# ToDo:
+# 1. use Requires?
+# 2. use Libs.private?
# Libs.private: @OpenCL_LIBRARIES@
# Libs: -L${libdir}@ASL_SUBLIBS@
Libs: -L${libdir}@ASL_SUBLIBS@ @OpenCL_LIBRARIES@
diff --git a/src/acl/CMakeLists.txt b/src/acl/CMakeLists.txt
index d022959..2cb0572 100644
--- a/src/acl/CMakeLists.txt
+++ b/src/acl/CMakeLists.txt
@@ -16,7 +16,8 @@ set(aslacl_PUBLIC_HEADERS
aclStdIncludes.h
aclTypesList.h
aclTypes.h
- acl.h
+ acl.h
+ cl.hpp
aclHardware.h
aclUtilities.h
aclElementBase.h
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/asl.git
More information about the debian-science-commits
mailing list