[DEV] copy files in the staging directly
This commit is contained in:
parent
89fee7fab5
commit
cb854ca972
2
Build
2
Build
@ -1 +1 @@
|
||||
Subproject commit a42715960bdb78614c78830517b112cb88cd3627
|
||||
Subproject commit c392140f79cfdda62e8f365744419a92125bde99
|
@ -127,18 +127,19 @@ void etk::InitDefaultFolder(const char * applName)
|
||||
|
||||
#ifdef MODE_RELEASE
|
||||
baseFolderData = "/usr/share/";
|
||||
baseFolderData += baseApplName;
|
||||
baseFolderData += "/";
|
||||
#else
|
||||
char cCurrentPath[FILENAME_MAX];
|
||||
if (!getcwd(cCurrentPath, FILENAME_MAX)) {
|
||||
baseFolderData = "./share/";
|
||||
baseFolderData = "./out/Linux/debug/staging/usr/share/";
|
||||
} else {
|
||||
cCurrentPath[FILENAME_MAX - 1] = '\0';
|
||||
baseFolderData = cCurrentPath;
|
||||
baseFolderData += "/share/";
|
||||
baseFolderData += "/out/Linux/debug/staging/usr/share/";
|
||||
}
|
||||
#endif
|
||||
baseFolderData += baseApplName;
|
||||
baseFolderData += "/";
|
||||
|
||||
baseFolderDataUser = baseFolderHome;
|
||||
baseFolderDataUser += "/.";
|
||||
baseFolderDataUser += baseApplName;
|
||||
|
@ -12,13 +12,6 @@ menu "General"
|
||||
bool "1: openGl ES 2.0"
|
||||
endchoice
|
||||
|
||||
config __EWOL_APPL_NAME__
|
||||
prompt "Application Name"
|
||||
string
|
||||
default "Ewol__"
|
||||
help
|
||||
This is the application name
|
||||
|
||||
config __EWOL_APPL_BASIC_TITLE__
|
||||
prompt "Application Title"
|
||||
string
|
||||
|
@ -42,22 +42,23 @@ LOCAL_SRC_FILES := \
|
||||
ewol/audio/interfacePortAudio.cpp \
|
||||
$(FILE_LIST)
|
||||
|
||||
LOCAL_END_PROJECT_NAME := $(call convert-special-char,$(CONFIG___EWOL_APPL_NAME__))
|
||||
|
||||
LOCAL_COPY_FILES := ../../share/textured3D.prog:usr/share/edn/textured3D.prog \
|
||||
../../share/textured3D.frag:usr/share/edn/textured3D.frag \
|
||||
../../share/textured3D.vert:usr/share/edn/textured3D.vert \
|
||||
LOCAL_COPY_FILES := ../../share/textured3D.prog:usr/share/$(LOCAL_END_PROJECT_NAME)/textured3D.prog \
|
||||
../../share/textured3D.frag:usr/share/$(LOCAL_END_PROJECT_NAME)/textured3D.frag \
|
||||
../../share/textured3D.vert:usr/share/$(LOCAL_END_PROJECT_NAME)/textured3D.vert \
|
||||
\
|
||||
../../share/color.prog:usr/share/edn/color.prog \
|
||||
../../share/color.frag:usr/share/edn/color.frag \
|
||||
../../share/color.vert:usr/share/edn/color.vert \
|
||||
../../share/color.prog:usr/share/$(LOCAL_END_PROJECT_NAME)/color.prog \
|
||||
../../share/color.frag:usr/share/$(LOCAL_END_PROJECT_NAME)/color.frag \
|
||||
../../share/color.vert:usr/share/$(LOCAL_END_PROJECT_NAME)/color.vert \
|
||||
\
|
||||
../../share/textured.prog:usr/share/edn/textured.prog \
|
||||
../../share/textured.frag:usr/share/edn/textured.frag \
|
||||
../../share/textured.vert:usr/share/edn/textured.vert \
|
||||
../../share/textured.prog:usr/share/$(LOCAL_END_PROJECT_NAME)/textured.prog \
|
||||
../../share/textured.frag:usr/share/$(LOCAL_END_PROJECT_NAME)/textured.frag \
|
||||
../../share/textured.vert:usr/share/$(LOCAL_END_PROJECT_NAME)/textured.vert \
|
||||
\
|
||||
../../share/widgetEntry.prog:usr/share/edn/widgetEntry.prog \
|
||||
../../share/widgetEntry.frag:usr/share/edn/widgetEntry.frag \
|
||||
../../share/widgetEntry.vert:usr/share/edn/widgetEntry.vert
|
||||
../../share/widgetEntry.prog:usr/share/$(LOCAL_END_PROJECT_NAME)/widgetEntry.prog \
|
||||
../../share/widgetEntry.frag:usr/share/$(LOCAL_END_PROJECT_NAME)/widgetEntry.frag \
|
||||
../../share/widgetEntry.vert:usr/share/$(LOCAL_END_PROJECT_NAME)/widgetEntry.vert
|
||||
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
Loading…
x
Reference in New Issue
Block a user