tarball,crossplatform.mk: improve cross-platform shell command functions. let errors...
[sdk] / eda / drivers / sqlite / SQLiteShellCmd.epj
index 1f6eb35..1eeec18 100644 (file)
@@ -4,13 +4,14 @@
    "Options" : {
       "Warnings" : "All",
       "Optimization" : "None",
+      "PreprocessorDefinitions" : [
+         "SQLITE_ENABLE_RTREE=1"
+      ],
       "TargetType" : "Executable",
       "TargetFileName" : "sqlite3",
-      "TargetDirectory" : "obj/$(CONFIG).$(PLATFORM)",
-      "ObjectsDirectory" : "obj/$(CONFIG).$(PLATFORM)",
-      "Libraries" : [
-         "ecere"
-      ]
+      "TargetDirectory" : "obj/$(MODULE).$(CONFIG).$(PLATFORM)$(COMPILER_SUFFIX)$(DEBUG_SUFFIX)",
+      "ObjectsDirectory" : "obj/$(MODULE).$(CONFIG).$(PLATFORM)$(COMPILER_SUFFIX)$(DEBUG_SUFFIX)",
+      "Console" : true
    },
    "Platforms" : [
       {
             "Debug" : true,
             "PreprocessorDefinitions" : [
                "_DEBUG"
-            ]
+            ],
+            "FastMath" : false
          }
       },
       {
          "Name" : "Release",
          "Options" : {
             "NoLineNumbers" : true,
-            "Optimization" : "Speed"
+            "Optimization" : "Speed",
+            "FastMath" : true,
+            "InstallCommands" : [
+               "$(if $(WINDOWS_HOST),$(call cp,$(TARGET),\"$(BINDIR)/\"),install $(INSTALL_FLAGS) $(TARGET) $(BINDIR)/$(MODULE)$(E))"
+            ]
          }
       }
    ],
    "Files" : [
-      "shell.c",
-      "sqlite3.c",
+      {
+         "FileName" : "shell.c",
+         "Options" : {
+            "FastMath" : false
+         }
+      },
+      {
+         "FileName" : "sqlite3.c",
+         "Options" : {
+            "FastMath" : false
+         }
+      },
       "sqlite3.h"
    ],
    "ResourcesPath" : "",
    "Resources" : [
 
    ]
-}
\ No newline at end of file
+}