[DEV] remove old maker ==> replace by lutin
This commit is contained in:
parent
7d3e8d4d26
commit
b47d6f359d
43
README.md
43
README.md
@ -20,25 +20,23 @@ download the software :
|
||||
git clone git://github.com/HeeroYui/edn.git
|
||||
cd edn
|
||||
|
||||
|
||||
(debug) Compile software & Run debug version:
|
||||
|
||||
make DEBUG=1
|
||||
../ewol/build/lutin.py --color --mode=debug
|
||||
or
|
||||
make CLANG=1 DEBUG=1
|
||||
./out/Linux/debug/staging/edn/usr/bin/edn -l6 yourFile.txt
|
||||
../ewol/build/lutin.py --color --compilator=clang --mode=debug
|
||||
./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.
|
||||
|
||||
|
||||
(release) Compile software & install & run:
|
||||
|
||||
# generate binary and tree
|
||||
make
|
||||
# generate .deb packages
|
||||
make final
|
||||
# install .deb packages
|
||||
make install
|
||||
# generate binary, tree, package and install it ...
|
||||
../ewol/build/lutin.py -c edn-install
|
||||
edn exemple.txt
|
||||
|
||||
|
||||
(Android) Compile software & install
|
||||
|
||||
cd yourDevFolder
|
||||
@ -50,30 +48,35 @@ download the software :
|
||||
==> you need to download sub package of the NDK (refer to the NDK doccumentation) but only supported android version >4.0
|
||||
cd ../edn
|
||||
# generate .so
|
||||
make PLATFORM=Android
|
||||
# generate .apk
|
||||
make PLATFORM=Android final
|
||||
# To send it on the board :
|
||||
make PLATFORM=Android install
|
||||
../ewol/build/lutin.py --color --target=Android --mode=debug edn-install
|
||||
# to show the log :
|
||||
make PLATFORM=Android log
|
||||
../ewol/build/lutin.py --target=Android edn-log
|
||||
|
||||
|
||||
(Windows) Compile software & install
|
||||
|
||||
cd yourDevFolder/edn
|
||||
make PLATFORM=Windows
|
||||
# generate ...
|
||||
make PLATFORM=Windows final
|
||||
../ewol/build/lutin.py --color --target=Windows --mode=debug
|
||||
|
||||
|
||||
(MAC) All needed and some useful packages
|
||||
|
||||
- Git access (client you want or : http://code.google.com/p/git-osx-installer/ ==>need a ctrl+click to remove the normal installation control)
|
||||
- Xcode ==> for all developement packages
|
||||
- in Xcode : XCode->Setting->Download and install component: "Command Line Tools"
|
||||
|
||||
cd yourDevFolder/edn
|
||||
../ewol/build/lutin.py --color --mode=debug
|
||||
|
||||
|
||||
On linux you can generate 3 board in one time
|
||||
=============================================
|
||||
|
||||
cd yourDevFolder/edn
|
||||
../ewol/build/lutin.py --color --target=Linux --mode=debug edn --target=Windows --mode=debug edn --target=Android --mode=debug edn
|
||||
|
||||
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
|
||||
|
@ -1,31 +0,0 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# load the common sources file of the platform
|
||||
include $(LOCAL_PATH)/file.mk
|
||||
|
||||
LOCAL_CONFIG_FILES := Config.in
|
||||
|
||||
# name of the librairy
|
||||
LOCAL_MODULE := edn
|
||||
|
||||
# get the tag of the current project :
|
||||
LOCAL_VERSION=$(shell cat $(LOCAL_PATH)/../tag)
|
||||
$(info [TAG:$(LOCAL_MODULE)] $(LOCAL_VERSION))
|
||||
|
||||
# name of the dependency
|
||||
LOCAL_LIBRARIES := ewol freetype libpng parsersvg tinyxml lua etk libzip
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(addprefix $(LOCAL_PATH)/, $(sort $(dir $(FILE_LIST))))
|
||||
|
||||
LOCAL_SRC_FILES := $(FILE_LIST)
|
||||
|
||||
LOCAL_LDLIBS := -llog -landroid
|
||||
|
||||
LOCAL_CFLAGS := -DPROJECT_NAME="\"$(LOCAL_MODULE)\"" \
|
||||
-DAPPL_VERSION_TAG_NAME="\"$(LOCAL_VERSION)-$(BUILD_DIRECTORY_MODE)\""
|
||||
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
@ -1,16 +0,0 @@
|
||||
menu "General"
|
||||
choice
|
||||
prompt "Buffer text configuration"
|
||||
default APPL_BUFFER_FONT_NORMAL
|
||||
help
|
||||
Buffer display mode :
|
||||
0 : Basic Sprite font mode.
|
||||
==> Old standard mode fast but need to reaload distint font for every size
|
||||
1 : Distance Field.
|
||||
==> New theoric mode for the display of the font ==> really slow but insteresting ...
|
||||
config APPL_BUFFER_FONT_NORMAL
|
||||
bool "0: Basic Sprite font mode"
|
||||
config APPL_BUFFER_FONT_DISTANCE_FIELD
|
||||
bool "1: Distance Field"
|
||||
endchoice
|
||||
endmenu
|
@ -1,32 +0,0 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# load the common sources file of the platform
|
||||
include $(LOCAL_PATH)/file.mk
|
||||
|
||||
LOCAL_CONFIG_FILES := Config.in
|
||||
|
||||
# name of the librairy
|
||||
LOCAL_MODULE := edn
|
||||
# get the tag of the current project :
|
||||
LOCAL_VERSION=$(shell cat $(LOCAL_PATH)/../tag)
|
||||
$(info [TAG:$(LOCAL_MODULE)] $(LOCAL_VERSION))
|
||||
|
||||
# name of the dependency
|
||||
LOCAL_STATIC_LIBRARIES := ewol
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(addprefix $(LOCAL_PATH)/, $(sort $(dir $(FILE_LIST))))
|
||||
|
||||
LOCAL_SRC_FILES := $(FILE_LIST)
|
||||
|
||||
|
||||
LOCAL_LDLIBS :=
|
||||
|
||||
LOCAL_CFLAGS := -DPROJECT_NAME="\"$(LOCAL_MODULE)\"" \
|
||||
-DAPPL_VERSION_TAG_NAME="\"$(LOCAL_VERSION)-$(BUILD_DIRECTORY_MODE)\""
|
||||
|
||||
LOCAL_COPY_FILES += ../data/icon.png:icon.png
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
@ -1,33 +0,0 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# load the common sources file of the platform
|
||||
include $(LOCAL_PATH)/file.mk
|
||||
|
||||
LOCAL_CONFIG_FILES := Config.in
|
||||
|
||||
# name of the librairy
|
||||
LOCAL_MODULE := edn
|
||||
# get the tag of the current project :
|
||||
LOCAL_VERSION=$(shell cat $(LOCAL_PATH)/../tag)
|
||||
$(info [TAG:$(LOCAL_MODULE)] $(LOCAL_VERSION))
|
||||
|
||||
# name of the dependency
|
||||
LOCAL_STATIC_LIBRARIES := ewol
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(addprefix $(LOCAL_PATH)/, $(sort $(dir $(FILE_LIST))))
|
||||
|
||||
LOCAL_SRC_FILES := $(FILE_LIST) \
|
||||
|
||||
LOCAL_LDLIBS :=
|
||||
|
||||
LOCAL_CFLAGS := -DPROJECT_NAME="\"$(LOCAL_MODULE)\"" \
|
||||
-DAPPL_VERSION_TAG_NAME="\"$(LOCAL_VERSION)-$(BUILD_DIRECTORY_MODE)\""
|
||||
|
||||
LOCAL_COPY_FILES := ../data/Font/freefont/FreeSerif.ttf:fonts/FreeSerif.ttf
|
||||
LOCAL_COPY_FOLDERS := ../data/Font/freefont/FreeMon*.ttf:fonts
|
||||
LOCAL_COPY_FILES += ../data/icon.png:icon.png
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
@ -1,30 +0,0 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# load the common sources file of the platform
|
||||
include $(LOCAL_PATH)/file.mk
|
||||
|
||||
LOCAL_CONFIG_FILES := Config.in
|
||||
|
||||
# name of the librairy
|
||||
LOCAL_MODULE := edn
|
||||
|
||||
# get the tag of the current project :
|
||||
LOCAL_VERSION=$(shell cat $(LOCAL_PATH)/../tag)
|
||||
$(info [TAG:$(LOCAL_MODULE)] $(LOCAL_VERSION))
|
||||
|
||||
# name of the dependency
|
||||
LOCAL_STATIC_LIBRARIES := ewol
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(addprefix $(LOCAL_PATH)/, $(sort $(dir $(FILE_LIST))))
|
||||
|
||||
LOCAL_SRC_FILES := $(FILE_LIST)
|
||||
|
||||
|
||||
LOCAL_LDLIBS :=
|
||||
|
||||
LOCAL_CFLAGS := -DPROJECT_NAME="\"$(LOCAL_MODULE)\"" \
|
||||
-DAPPL_VERSION_TAG_NAME="\"$(LOCAL_VERSION)-$(BUILD_DIRECTORY_MODE)\""
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
@ -1,70 +0,0 @@
|
||||
|
||||
|
||||
###############################################################################
|
||||
### Files Listes ###
|
||||
###############################################################################
|
||||
|
||||
# ExuberantCtags reading file tools (extern OPEN Sources) :
|
||||
FILE_LIST= appl/ctags/readtags.cpp \
|
||||
appl/ctags/CTagsManager.cpp
|
||||
|
||||
# Globals debug tool:
|
||||
FILE_LIST+= appl/Debug.cpp \
|
||||
appl/global.cpp \
|
||||
appl/globalMsg.cpp
|
||||
|
||||
# Gui:
|
||||
FILE_LIST+= appl/Gui/BufferView.cpp \
|
||||
appl/Gui/CodeView.cpp \
|
||||
appl/Gui/MainWindows.cpp \
|
||||
appl/Gui/Search.cpp \
|
||||
appl/Gui/SearchData.cpp \
|
||||
appl/Gui/TagFileSelection.cpp \
|
||||
appl/Gui/TagFileList.cpp
|
||||
|
||||
# All needed for the buffer management :
|
||||
FILE_LIST+= appl/Buffer/EdnBuf/EdnBuf.cpp \
|
||||
appl/Buffer/EdnBuf/EdnBuf_HighLight.cpp \
|
||||
appl/Buffer/EdnBuf/EdnBuf_History.cpp \
|
||||
appl/Buffer/EdnBuf/EdnBuf_Selection.cpp \
|
||||
appl/Buffer/EdnBuf/EdnBufHistory.cpp \
|
||||
appl/Buffer/BufferText.cpp \
|
||||
appl/Buffer/BufferManager.cpp
|
||||
|
||||
# Generic color management for the text editor :
|
||||
FILE_LIST+= appl/Colorize/Colorize.cpp \
|
||||
appl/Colorize/ColorizeManager.cpp
|
||||
|
||||
# syntax coloration for the text editor
|
||||
FILE_LIST+= appl/Highlight/HighlightPattern.cpp \
|
||||
appl/Highlight/Highlight.cpp \
|
||||
appl/Highlight/HighlightManager.cpp
|
||||
|
||||
# Main entry file :
|
||||
FILE_LIST+= appl/init.cpp
|
||||
|
||||
|
||||
LOCAL_COPY_FOLDERS := ../data/icon.*: \
|
||||
../data/color/*.xml:color/ \
|
||||
../data/languages/asm/*.xml:languages/asm/ \
|
||||
../data/languages/bash/*.xml:languages/bash/ \
|
||||
../data/languages/boo/*.xml:languages/boo/ \
|
||||
../data/languages/c/*.xml:languages/c/ \
|
||||
../data/languages/glsl/*.xml:languages/glsl/ \
|
||||
../data/languages/in/*.xml:languages/in/ \
|
||||
../data/languages/java/*.xml:languages/java/ \
|
||||
../data/languages/lua/*.xml:languages/lua/ \
|
||||
../data/languages/makefile/*.xml:languages/makefile/ \
|
||||
../data/languages/matlab/*.xml:languages/matlab/ \
|
||||
../data/languages/php/*.xml:languages/php/ \
|
||||
../data/languages/xml/*.xml:languages/xml/ \
|
||||
../data/languages/python/*.xml:languages/python/ \
|
||||
../data/theme/default/*.svg:theme/default/
|
||||
|
||||
LOCAL_COPY_FILES :=
|
||||
|
||||
ifneq ($(__EWOL_INTEGRATED_FONT__),$(empty))
|
||||
|
||||
LOCAL_COPY_FILES := ../data/Font/freefont/FreeSerif.ttf:fonts/FreeSerif.ttf
|
||||
LOCAL_COPY_FOLDERS += ../data/Font/freefont/FreeMon*.ttf:fonts
|
||||
endif
|
Loading…
x
Reference in New Issue
Block a user