edn/README.md

98 lines
2.5 KiB
Markdown
Raw Normal View History

2011-08-30 09:42:14 +02:00
Edn
====
`Edn` (Editeur De N'ours) is a FREE software.
2011-07-19 17:13:38 +02:00
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.
2011-08-30 09:42:14 +02:00
Instructions
============
download the software :
2012-07-23 14:59:19 +02:00
mkdir yourDevFolder
cd yourDevFolder
git clone git://github.com/HeeroYui/ewol.git
cd ewol
git submodule init
git submodule update
cd ..
2011-08-30 09:42:14 +02:00
git clone git://github.com/HeeroYui/edn.git
cd edn
2012-07-23 14:59:19 +02:00
(debug) Compile software & Run debug version:
2011-08-30 09:42:14 +02:00
2012-07-23 14:59:19 +02:00
make DEBUG=1
or
make CLANG=1 DEBUG=1
2012-12-27 21:17:53 +01:00
./out/Linux/debug/staging/edn/usr/bin/edn -l6 yourFile.txt
Note : -l6 corespond at the LOG level to display.
Note : If you not compile in debug mode, you must install it to execure it.
2011-08-30 09:42:14 +02:00
2012-07-23 14:59:19 +02:00
(release) Compile software & install & run:
2011-08-30 09:42:14 +02:00
2012-12-27 21:17:53 +01:00
# generate binary and tree
2012-07-23 14:59:19 +02:00
make
2012-12-27 21:17:53 +01:00
# generate .deb packages
make final
# install .deb packages
make install
2011-08-30 09:42:14 +02:00
edn exemple.txt
2012-07-23 14:59:19 +02:00
(Android) Compile software & install
cd yourDevFolder
mkdir andoid
cd android
download here in "sdk" and "ndk" the coresponding SDK and NDK of Android:
http://developer.android.com/tools/sdk/ndk/index.html
http://developer.android.com/sdk/index.html
==> you need to download sub package of the NDK (refer to the NDK doccumentation) but only supported android version >4.0
cd ../edn
2012-12-27 21:17:53 +01:00
# generate .so
2012-07-23 14:59:19 +02:00
make PLATFORM=Android
2012-12-27 21:17:53 +01:00
# generate .apk
make PLATFORM=Android final
# To send it on the board :
2012-07-23 14:59:19 +02:00
make PLATFORM=Android install
2012-12-27 21:17:53 +01:00
# to show the log :
make PLATFORM=Android log
2012-07-23 14:59:19 +02:00
2012-12-27 21:17:53 +01:00
(Windows) Compile software & install
cd yourDevFolder/edn
make PLATFORM=Windows
# generate ...
make PLATFORM=Windows final
Dependency packages
===================
sudo apt-get install g++ libgl1-mesa-dev zlib1g-dev libasound2-dev
# if you want to compile with clang :
sudo apt-get install clang
# if you want to compile for windows :
sudo apt-get install mingw32
License (GPL)
2012-07-23 14:59:19 +02:00
==================
2011-08-30 09:42:14 +02:00
2012-12-27 21:17:53 +01:00
Edn (Editeur De N'ours) : Source code editor
Copyright (C) Copyright 2010 Edouard DUPIN
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
2011-08-30 09:42:14 +02:00
2012-12-27 21:17:53 +01:00
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.