SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -DRUNTIME_DIR=${RUNTIME_DIR}")
ENDIF(DEFINED RUNTIME_DIR)
+IF(DEFINED VERSION)
+ SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -DVERSION=${VERSION}")
+ENDIF(DEFINED VERSION)
+
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -pthread -std=c++11 -Wl,--no-as-needed -ggdb")
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -Wl,-zdefs" )
#SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden")
"UseLatestBehaviorWhenTFMNotSpecified"
};
- _DBG("trusted platform assemblies : %s", propertyValues[0]);
+ //_DBG("trusted platform assemblies : %s", propertyValues[0]);
_DBG("app_path : %s", propertyValues[1]);
_DBG("app_ni_path : %s", propertyValues[2]);
_DBG("native dll search path : %s", propertyValues[3]);
#include <Ecore.h>
#include <Eina.h>
+#define __XSTR(x) #x
+#define __STR(x) __XSTR(x)
+
+#ifndef VERSION
+#define LAUNCHER_VERSION_STR "-Unknown-"
+#else
+#define LAUNCHER_VERSION_STR __STR(VERSION)
+#endif
+
+static std::string VersionOption("--version");
static std::string StandaloneOption("--standalone");
int main(int argc, char *argv[])
for (i=1; i<argc; i++)
{
- if (StandaloneOption.compare(argv[i]) == 0)
+ if (VersionOption.compare(argv[i]) == 0)
+ {
+ printf("Dotnet launcher Version %s\n", LAUNCHER_VERSION_STR);
+ return 0;
+ }
+ else if (StandaloneOption.compare(argv[i]) == 0)
{
standalone = true;
Name: dotnet-launcher
Summary: Launchpad plugin for dotnet apps
-Version: 0.0.2
+Version: 1.0.0
Release: 2
Group: Application Framework/Application State Management
License: Apache License, Version 2.0