buildsystem/ide; makefile generation; fixed $(VER) to appear only when needed and...
authorRejean Loyer <rejean.loyer@gmail.com>
Fri, 8 Mar 2013 00:27:10 +0000 (19:27 -0500)
committerJerome St-Louis <jerome@ecere.com>
Fri, 8 Mar 2013 01:52:53 +0000 (20:52 -0500)
crossplatform.mk
ecere/ecereCOM.epj
ide/src/project/Project.ec

index be95764..55460e3 100644 (file)
@@ -189,7 +189,7 @@ HOST_SO := $(if $(WINDOWS_HOST),.dll,$(if $(OSX_HOST),.dylib,.so))
 HOST_LP := $(if $(WINDOWS_HOST),$(if $(STATIC_LIBRARY_TARGET),lib,),lib)
 
 # VERSIONING
-VER := $(if $(VERSION),.$(VERSION),)
+VER := $(if $(WINDOWS_TARGET),,$(if $(VERSION),.$(VERSION),))
 
 # SUPER TOOLS
 ifdef CCACHE
index 1e0aa66..aef0089 100644 (file)
    "ResourcesPath" : "",
    "Resources" : [
 
-   ]
+   ],
+   "ModuleVersion" : "0.44"
 }
index 4341971..16f9b73 100644 (file)
@@ -2069,7 +2069,7 @@ private:
             strcat(fileName, "$(E)");
             break;
          case sharedLibrary:
-            strcat(fileName, "$(SO)");
+            strcat(fileName, "$(SO)$(VER)");
             break;
          case staticLibrary:
             strcat(fileName, "$(A)");
@@ -2476,7 +2476,7 @@ private:
             strcpy(targetNoSpaces, targetDir);
             PathCatSlash(targetNoSpaces, target);
             ReplaceSpaces(targetNoSpaces, targetNoSpaces);
-            f.Printf("TARGET = %s$(VER)\n", targetNoSpaces);
+            f.Printf("TARGET = %s\n", targetNoSpaces);
 
             if(test)
             {