ecere: Excluding OpenGL dependency for installer configuration
[sdk] / ecere / ecereCOM.epj
index 348e458..5166b8c 100644 (file)
@@ -1,6 +1,7 @@
 {
    "Version" : 0.2,
    "ModuleName" : "ecereCOM",
+   "ModuleVersion" : "0.44",
    "Options" : {
       "Warnings" : "All",
       "PreprocessorDefinitions" : [
       "DefaultNameSpace" : "ecere",
       "TargetType" : "SharedLibrary",
       "TargetFileName" : "ecereCOM",
-      "TargetDirectory" : "obj/$(MODULE).$(CONFIG).$(PLATFORM)",
-      "ObjectsDirectory" : "obj/$(MODULE).$(CONFIG).$(PLATFORM)"
+      "TargetDirectory" : "obj/$(MODULE).$(CONFIG).$(PLATFORM)$(COMPILER_SUFFIX)$(DEBUG_SUFFIX)",
+      "ObjectsDirectory" : "obj/$(MODULE).$(CONFIG).$(PLATFORM)$(COMPILER_SUFFIX)$(DEBUG_SUFFIX)"
    },
+   "Platforms" : [
+      {
+         "Name" : "linux",
+         "Options" : {
+            "Libraries" : [
+               "dl",
+               "m",
+               "pthread"
+            ]
+         }
+      }
+   ],
    "Configurations" : [
       {
          "Name" : "Debug",
@@ -22,7 +35,8 @@
             "Optimization" : "None",
             "PreprocessorDefinitions" : [
                "_DEBUG"
-            ]
+            ],
+            "FastMath" : false
          }
       },
       {
             "Libraries" : [
 
             ],
+            "FastMath" : true,
             "PostbuildCommands" : [
-               "$(call cpq,$(TARGET),../$(SODESTDIR))"
+               "$(call cp,$(TARGET),../$(SODESTDIR))"
+            ],
+            "InstallCommands" : [
+               "$(call cp,$(TARGET),\"$(DESTLIBDIR)/\")",
+               "$(if $(WINDOWS_HOST),,ln -sf $(LP)$(MODULE)$(SOV) $(DESTLIBDIR)/$(LP)$(MODULE)$(SO).0)",
+               "$(if $(WINDOWS_HOST),,ln -sf $(LP)$(MODULE)$(SOV) $(DESTLIBDIR)/$(LP)$(MODULE)$(SO))"
             ]
-         },
-         "Platforms" : [
-            {
-               "Name" : "Linux",
-               "Options" : {
-                  "Libraries" : [
-                     "dl",
-                     "m",
-                     "pthread"
-                  ]
-               }
-            }
-         ]
+         }
       },
       {
          "Name" : "Static",
             ],
             "TargetType" : "StaticLibrary",
             "TargetFileName" : "ecereCOMStatic",
-            "TargetDirectory" : "ecereCOMStatic",
             "ObjectsDirectory" : "ecereCOMStatic",
             "Libraries" : [
 
-            ]
+            ],
+            "FastMath" : true
+         }
+      },
+      {
+         "Name" : "Emscripten",
+         "Options" : {
+            "Optimization" : "Size",
+            "PreprocessorDefinitions" : [
+               "ECERE_STATIC",
+               "ECERE_COM_ONLY"
+            ],
+            "TargetType" : "StaticLibrary",
+            "TargetFileName" : "ecereCOMStatic"
          }
       }
    ],
    "Resources" : [
 
    ]
-}
\ No newline at end of file
+}