[asl] 75/177: Fix Readme.md
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Aug 27 09:22:42 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 9accf370b1817fa394f0fed77ed5ba3945369eb0
Author: Avtech Scientific <AvtechScientific at users.noreply.github.com>
Date: Tue Jul 7 15:14:05 2015 +0300
Fix Readme.md
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index 2f2acd9..39df8e8 100644
--- a/README.md
+++ b/README.md
@@ -35,12 +35,14 @@ ASL is distributed under the free GNU Affero General Public License (AGPLv3) wit
1. Take a look on examples, start with [examples/flow/locomotive_in_tunnel.cc](http://asl.org.il/doc/Developer-Guide/locomotive_in_tunnel_8cc-example.html)
2. ASL installation supplies `ASLConfig.cmake` and `ASL.pc` files. To build your program using
- `cmake`: write a basic `CMakeLists.txt`
+ ```
project(locomotive)
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
find_package(ASL 0.1.4 CONFIG REQUIRED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -std=c++11")
add_executable(locomotive_in_tunnel locomotive_in_tunnel.cc)
target_link_libraries(locomotive_in_tunnel PRIVATE ASL::aslnum ASL::aslvtk ASL::asl)
+ ```
- `pkg-config`: ``c++ `pkg-config --cflags --libs ASL` -o locomotive_in_tunnel locomotive_in_tunnel.cc``
--
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