"jpeg",
"png",
"z",
- "freetype",
- "SDL",
- "SDL2",
- "SDL2main"
+ "freetype"
]
},
"Platforms" : [
"Options" : {
"Debug" : true,
"PreprocessorDefinitions" : [
- "_DEBUG"
+ "_DEBUG",
+ "NO_TEMPLATE_DRIVER",
+ "NO_SDL_DRIVERS"
]
}
},
{
"Name" : "Emscripten",
"Options" : {
+ "Warnings" : "None",
+ "NoLineNumbers" : true,
+ "Optimization" : "Size",
+ "PreprocessorDefinitions" : [
+ "BUILDING_ECERE_COM",
+ "ECERE_STATIC",
+ "ECERE_VANILLA",
+ "NOBLENDING"
+ ],
+ "TargetType" : "StaticLibrary",
+ "TargetFileName" : "ecereVanilla",
+ "PostbuildCommands" : [
+ "$(call cpq,$(TARGET),../obj/$(PLATFORM)$(COMPILER_SUFFIX)$(DEBUG_SUFFIX)/lib/)"
+ ],
+ "InstallCommands" : [
+ "$(if $(WINDOWS_HOST),$(call cpq,$(TARGET),\"$(DESTSLIBDIR)/\"),install $(INSTALL_FLAGS) $(TARGET) $(DESTSLIBDIR)/$(MODULE)$(A))"
+ ]
+ }
+ },
+ {
+ "Name" : "Emscripten",
+ "Options" : {
"Debug" : true,
"PreprocessorDefinitions" : [
"ECERE_STATIC",
"Options" : {
"ExcludeFromBuild" : false
}
+ },
+ {
+ "Name" : "Debug",
+ "Options" : {
+ "ExcludeFromBuild" : false
+ }
}
]
},
}
]
},
- "TemplateDisplayDriver.ec",
+ {
+ "FileName" : "TemplateDisplayDriver.ec",
+ "Configurations" : [
+ {
+ "Name" : "Debug",
+ "Options" : {
+ "ExcludeFromBuild" : false
+ }
+ }
+ ]
+ },
{
"FileName" : "SDLDisplayDriver.ec",
- "Options" : {
- "ExcludeFromBuild" : false
- }
+ "Configurations" : [
+ {
+ "Name" : "Debug",
+ "Options" : {
+ "ExcludeFromBuild" : false
+ }
+ }
+ ]
},
{
"FileName" : "SDL2DisplayDriver.ec",
- "Options" : {
- "ExcludeFromBuild" : false
- }
+ "Configurations" : [
+ {
+ "Name" : "Debug",
+ "Options" : {
+ "ExcludeFromBuild" : false
+ }
+ }
+ ]
},
{
"FileName" : "PepperDisplayDriver.ec",
}
]
},
- "TemplateInterface.ec",
+ {
+ "FileName" : "TemplateInterface.ec",
+ "Configurations" : [
+ {
+ "Name" : "Debug",
+ "Options" : {
+ "ExcludeFromBuild" : false
+ }
+ }
+ ]
+ },
{
"FileName" : "EmscriptenInterface.ec",
"Configurations" : [
},
{
"FileName" : "SDLInterface.ec",
- "Options" : {
- "ExcludeFromBuild" : false
- }
+ "Configurations" : [
+ {
+ "Name" : "Debug",
+ "Options" : {
+ "ExcludeFromBuild" : false
+ }
+ }
+ ]
},
{
"FileName" : "SDL2Interface.ec",
- "Options" : {
- "ExcludeFromBuild" : false
- }
+ "Configurations" : [
+ {
+ "Name" : "Debug",
+ "Options" : {
+ "ExcludeFromBuild" : false
+ }
+ }
+ ]
},
{
"FileName" : "PepperInterface.ec",
#ifndef _DPL_H
#define _DPL_H 1
+// source file line number printf (sflnprintf)
+#define sflnprintf(format,...) printf("%s:% 5d: " format, __FILE__, __LINE__, ##__VA_ARGS__)
+#define sflnfprintf(file,format,...) fprintf(file, "%s:% 5d: " format, __FILE__, __LINE__, ##__VA_ARGS__)
+
// Debug Print Line Format (_dplf)
#ifdef _DPL_ON
#define _dplf(...) __dplf(__FILE__, __LINE__, ##__VA_ARGS__)
GenMakePrintNodeFlagsVariable(this, nodeECFlagsMapping, "ECFLAGS", f);
GenMakePrintNodeFlagsVariable(this, nodeCFlagsMapping, "PRJ_CFLAGS", f);
+ /*f.Printf(" %s$(call quote_path,%s%s.%s) -o $(call quote_path,$@)\n",
+ emAltExt ? "" : "-c ",*/
f.Printf(" -c $(call quote_path,%s%s.%s) -o $(call quote_path,$@)\n",
modulePath, moduleName, extension);
if(ifCount) f.Puts("endif\n");
GenMakePrintNodeFlagsVariable(this, nodeCFlagsMapping, "PRJ_CFLAGS", f);
f.Puts(" $(FVISIBILITY)");
+ /*f.Printf(" %s$(call quote_path,%s%s.%s) -o $(call quote_path,$@) -symbols $(OBJ)\n",
+ emAltExt ? "" : "-c ",
+ modulePath, moduleName, extension);*/
f.Printf(" -c $(call quote_path,%s%s.%s) -o $(call quote_path,$@) -symbols $(OBJ)\n",
modulePath, moduleName, extension);
if(ifCount) f.Puts("endif\n");