diff --git a/sources/appl/init.cpp b/sources/appl/init.cpp index 341704d..03bcf48 100644 --- a/sources/appl/init.cpp +++ b/sources/appl/init.cpp @@ -59,7 +59,7 @@ etk::CCout& operator <<(etk::CCout& _os, const std::u32string& _obj) { * @brief main application function initialisation */ bool APP_Init(ewol::eContext& _context) { - APPL_INFO(" == > init APPL (START) [" << ewol::getBoardType() << "] (" << ewol::getCompilationMode() << ")"); + APPL_INFO(" == > init APPL v" << APPL_VERSION << " (START) [" << ewol::getBoardType() << "] (" << ewol::getCompilationMode() << ")"); etk::theme::setName("COLOR", "colorWhite/"); diff --git a/sources/createTag.sh b/sources/createTag.sh index 1e0607b..13d7df3 100755 --- a/sources/createTag.sh +++ b/sources/createTag.sh @@ -17,5 +17,5 @@ fi echo -n $tag > tag -git commit -a -m "create a new release" +git commit -a -m "Update version tag : $tag" git tag $tag diff --git a/sources/lutin_edn.py b/sources/lutin_edn.py index ab165c0..adc7b5b 100755 --- a/sources/lutin_edn.py +++ b/sources/lutin_edn.py @@ -59,7 +59,8 @@ def Create(target): myModule.AddModuleDepend('ewol') myModule.CompileFlags_CC([ - "-DPROJECT_NAME=\"\\\""+myModule.name+"\\\"\""]) + "-DPROJECT_NAME=\"\\\""+myModule.name+"\\\"\"" + ]) myModule.CopyFile('../data/icon.png','icon.png') @@ -88,11 +89,11 @@ def Create(target): myModule.CopyFile("../data/Font/freefont/FreeSerif.ttf","fonts/FreeSerif.ttf") myModule.CopyFolder("../data/Font/freefont/FreeMon*.ttf","fonts/") - tagFile = lutinTools.GetCurrentPath(__file__) + "/tag" versionID = lutinTools.FileReadData(tagFile) - - debug.info(" edn versionId = '" + versionID + "'") + myModule.CompileFlags_CC([ + "-DAPPL_VERSION=\"\\\"" + versionID + "\\\"\"" + ]) # set the package properties : myModule.pkgSet("VERSION", versionID)