view Xcode/TemplatesForProjectBuilder/Application.trgttmpl @ 3012:7e30c2dc7783

Fixed Visual C++ release build for Visual C++ 2005 * Some math functions become intrinsic in release mode, so we need to convert all the math functions into SDL math functions, like we did with the stdlib functions. * Constant initializers of 8-bit values become calls to memset() in release mode, but memset() itself is an intrinsic when explicitly called. So we'll just explicitly call memset() in those cases.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 10 Jan 2009 18:32:24 +0000
parents d63e9f5944ae
children
line wrap: on
line source

{
    Class = Application;
    Description = "Target for building a SDL application.";
    CustomBuildSettings = {
        WRAPPER_EXTENSION = "app";
	FRAMEWORK_SEARCH_PATHS = "\"/Library/Frameworks\"";
        HEADER_SEARCH_PATHS = "\"/Library/Frameworks/SDL.framework/Headers\"";
        OTHER_LDFLAGS = "-framework Cocoa -framework SDL";
    };
    CustomProductSettings = {
        NSPrincipalClass = "NSApplication";
        NSMainNibFile = "SDLMain.nib";
    };
    InstallationPath = "$(SYSTEM_APPS_DIR)";
    WrapperExtension = "app";
}