diff --git a/xcode/SFML Application Base.xctemplate/ResourcePath.hpp b/xcode/SFML Application Base.xctemplate/ResourcePath.hpp new file mode 100644 index 00000000..2291f5a0 --- /dev/null +++ b/xcode/SFML Application Base.xctemplate/ResourcePath.hpp @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2011 Marco Antognini (antognini.marco@gmail.com), +// Laurent Gomila (laurent.gom@gmail.com), +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef RESOURCE_PATH_HPP +#define RESOURCE_PATH_HPP + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + +//////////////////////////////////////////////////////////// +/// \brief Return the path to the resource folder. +/// +/// \return The path to the resource folder associate +/// with the main bundle or an empty string is there is no bundle. +/// +//////////////////////////////////////////////////////////// +std::string ResourcePath(void); + +#endif diff --git a/xcode/SFML Application Base.xctemplate/ResourcePath.mm b/xcode/SFML Application Base.xctemplate/ResourcePath.mm new file mode 100644 index 00000000..315ac156 --- /dev/null +++ b/xcode/SFML Application Base.xctemplate/ResourcePath.mm @@ -0,0 +1,52 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2011 Marco Antognini (antognini.marco@gmail.com), +// Laurent Gomila (laurent.gom@gmail.com), +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include "ResourcePath.hpp" +#import + +//////////////////////////////////////////////////////////// +std::string ResourcePath(void) +{ + NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; + + std::string rpath; + NSBundle* bundle = [NSBundle mainBundle]; + + if (bundle == nil) { +#ifdef DEBUG + NSLog(@"bundle is nil... thus no resources path can be found."); +#endif + } else { + NSString* path = [bundle resourcePath]; + rpath = [path UTF8String] + std::string("/"); + } + + [pool drain]; + + return rpath; +} diff --git a/xcode/SFML Application Base.xctemplate/TemplateInfo.plist b/xcode/SFML Application Base.xctemplate/TemplateInfo.plist new file mode 100644 index 00000000..886438fb --- /dev/null +++ b/xcode/SFML Application Base.xctemplate/TemplateInfo.plist @@ -0,0 +1,597 @@ + + + + + + + Kind + Xcode.Xcode3.ProjectTemplateUnitKind + Identifier + org.sfml-dev.AppBase + + Ancestors + + com.apple.dt.unit.macBase + + + + Options + + + + Identifier + windowModule + Name + Use window module + Description + Indicates whether window module should be used or not. + Type + checkbox + SortOrder + 1 + Default + true + Units + + + true + + + Project + + SharedSettings + + WINDOW_RELEASE + -lsfml-window + + WINDOW_DEBUG + -lsfml-window-d + + + + + Definitions + + main.cpp:window:include + #include <SFML/Window.hpp> + + main.cpp:main:window:content + sf::Window window(sf::VideoMode(800, 600), "SFML window"); + + + main.cpp:system:include + + + main.cpp:main:audio_loop + + + + + false + + + Project + + SharedSettings + + WINDOW_RELEASE + + + WINDOW_DEBUG + + + + + + Definitions + + main.cpp:window:include + + + main.cpp:main:window:content + + + + main.cpp:main:event_loop + + + main.cpp:main:display + + + + + + + + + + Identifier + graphicsModule + RequiredOptions + + windowModule + true + + Name + Use graphics module + Description + Indicates whether graphics module should be used or not. + Type + checkbox + SortOrder + 1 + Default + true + Units + + + true + + + Project + + SharedSettings + + GRAPHICS_RELEASE + -lsfml-graphics + + GRAPHICS_DEBUG + -lsfml-graphics-d + + + + + Definitions + + main.cpp:graphics:include + #include <SFML/Graphics.hpp> + + main.cpp:main:graphics_init_window + // Create the main window +sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window"); + + + main.cpp:main:image_init + +// Load a sprite to display +sf::Image image; + + + main.cpp:main:image_finalize + return EXIT_FAILURE; +sf::Sprite sprite(image); + + + main.cpp:main:image_load + if (!image.LoadFromFile(ResourcePath() + "cute_image.jpg")) + + main.cpp:main:text_init + +// Create a graphical text to display +sf::Font font; + + + main.cpp:main:text_finalize + return EXIT_FAILURE; +sf::Text text("Hello SFML", font, 50); +text.SetColor(sf::Color::Black); + + + main.cpp:main:text_load + if (!font.LoadFromFile(ResourcePath() + "sansation.ttf")) + + main.cpp:main:graphics_display + + // Clear screen + window.Clear(); + + // Draw the sprite + window.Draw(sprite); + + // Draw the string + window.Draw(text); + + + + main.cpp:window:include + + + main.cpp:main:window:content + + + sansation.ttf + + Group + Supporting Files + Path + sansation.ttf + + + cute_image.jpg + + Group + Supporting Files + Path + cute_image.jpg + + + + + Nodes + + sansation.ttf + cute_image.jpg + + + + false + + + Project + + SharedSettings + + GRAPHICS_RELEASE + + + GRAPHICS_DEBUG + + + + + + Definitions + + main.cpp:graphics:include + + + main.cpp:main:graphics_init + + + main.cpp:main:graphics_display + + + main.cpp:main:image_load + + + + + + + + + Identifier + audioModule + Name + Use audio module + Description + Indicates whether audio module should be used or not. + Type + checkbox + SortOrder + 1 + Default + true + Units + + + true + + + Project + + SharedSettings + + AUDIO_RELEASE + -lsfml-audio + + AUDIO_DEBUG + -lsfml-audio-d + + + + + Definitions + + main.cpp:audio:include + #include <SFML/Audio.hpp> + + main.cpp:main:audio:content + +// Load a music to play +sf::Music music; +if (!music.OpenFromFile(ResourcePath() + "nice_music.ogg")) + return EXIT_FAILURE; + +// Play the music +music.Play(); + + nice_music.ogg + + Group + Supporting Files + Path + nice_music.ogg + + + + + Nodes + + nice_music.ogg + + + + false + + + Project + + SharedSettings + + AUDIO_RELEASE + + + AUDIO_DEBUG + + + + + + Definitions + + main.cpp:audio:include + + + main.cpp:main:audio:content + + + + + + + + + Identifier + networkModule + Name + Use network module + Description + Indicates whether network module should be used or not. + Type + checkbox + SortOrder + 1 + Default + true + Units + + + true + + + Project + + SharedSettings + + NETWORK_RELEASE + -lsfml-network + + NETWORK_DEBUG + -lsfml-network-d + + + + + Definitions + + main.cpp:network:include + #include <SFML/Network.hpp> + + + + + + false + + + Project + + SharedSettings + + NETWORK_RELEASE + + + NETWORK_DEBUG + + + + + + Definitions + + main.cpp:network:include + + + + + + + + + + + + Nodes + + main.cpp:system:include + main.cpp:window:include + main.cpp:graphics:include + main.cpp:audio:include + main.cpp:network:include + main.cpp:resources:include + main.cpp:main:window:content + main.cpp:main:graphics_init_window + main.cpp:main:image_init + main.cpp:main:image_load + main.cpp:main:image_finalize + main.cpp:main:text_init + main.cpp:main:text_load + main.cpp:main:text_finalize + main.cpp:main:audio:content + main.cpp:main:audio_loop + main.cpp:main:event_loop + main.cpp:main:graphics_display + main.cpp:main:display + ResourcePath.mm + ResourcePath.hpp + + + + + Definitions + + + *:main + + Beginning + +int main (int argc, const char * argv[]) +{ + End + + return EXIT_SUCCESS; +} + Indent + 1 + + + ResourcePath.mm + + Path + ResourcePath.mm + + + ResourcePath.hpp + + Path + ResourcePath.hpp + + + + main.cpp:system:include + #include <SFML/System.hpp> + + main.cpp:main:event_loop + +// Start the game loop +while (window.IsOpened()) +{ + // Process events + sf::Event event; + while (window.PollEvent(event)) + { + // Close window : exit + if (event.Type == sf::Event::Closed) + window.Close(); + + // Escape pressed : exit + if (event.Type == sf::Event::KeyPressed && event.Key.Code == sf::Key::Escape) + window.Close(); + } + + + main.cpp:main:display + + // Update the window + window.Display(); +} + + + main.cpp:resources:include + #include "ResourcePath.hpp" + + main.cpp:main:audio_loop + while (music.GetStatus() == sf::Music::Playing) { + sf::Sleep(100); +} + + + + + Project + + + Name + ___PACKAGENAME___ + + + SharedSettings + + PRODUCT_NAME + $(TARGET_NAME) + + SYSTEM_RELEASE + -lsfml-system + SYSTEM_DEBUG + -lsfml-system-d + + HEADER_SEARCH_PATHS + $(HEADER_SEARCH_PATHS) /usr/local/include/ + + + Configurations + + + Debug + + OTHER_LDFLAGS +$(OTHER_LDFLAGS) $(SYSTEM_DEBUG) $(WINDOW_DEBUG) $(GRAPHICS_DEBUG) $(AUDIO_DEBUG) $(NETWORK_DEBUG) + + + + + Release + + OTHER_LDFLAGS +$(OTHER_LDFLAGS) $(SYSTEM_RELEASE) $(WINDOW_RELEASE) $(GRAPHICS_RELEASE) $(AUDIO_RELEASE) $(NETWORK_RELEASE) + + + + + Targets + + + Frameworks + + Foundation + + + + + diff --git a/xcode/SFML Application Base.xctemplate/cute_image.jpg b/xcode/SFML Application Base.xctemplate/cute_image.jpg new file mode 100644 index 00000000..20724fa9 Binary files /dev/null and b/xcode/SFML Application Base.xctemplate/cute_image.jpg differ diff --git a/xcode/SFML Application Base.xctemplate/nice_music.ogg b/xcode/SFML Application Base.xctemplate/nice_music.ogg new file mode 100644 index 00000000..f764d61d Binary files /dev/null and b/xcode/SFML Application Base.xctemplate/nice_music.ogg differ diff --git a/xcode/SFML Application Base.xctemplate/sansation.ttf b/xcode/SFML Application Base.xctemplate/sansation.ttf new file mode 100644 index 00000000..d85fbc81 Binary files /dev/null and b/xcode/SFML Application Base.xctemplate/sansation.ttf differ diff --git a/xcode/SFML Application.xctemplate/TemplateIcon.icns b/xcode/SFML Application.xctemplate/TemplateIcon.icns new file mode 100644 index 00000000..477431ba Binary files /dev/null and b/xcode/SFML Application.xctemplate/TemplateIcon.icns differ diff --git a/xcode/SFML Application.xctemplate/TemplateInfo.plist b/xcode/SFML Application.xctemplate/TemplateInfo.plist new file mode 100644 index 00000000..b5fc367b --- /dev/null +++ b/xcode/SFML Application.xctemplate/TemplateInfo.plist @@ -0,0 +1,121 @@ + + + + + + + + + Ancestors + + org.sfml-dev.AppBase + com.apple.dt.unit.bundleBase + + + + Concrete + + + + Description + This template builds bundle application using SFML. + Identifier + org.sfml-dev.app + Kind + Xcode.Xcode3.ProjectTemplateUnitKind + + Nodes + + ___PACKAGENAME___-Info.plist:Basics + + + Definitions + + ___PACKAGENAME___-Info.plist:Basics + <key>CFBundleDevelopmentRegion</key> +<string>en</string> +<key>CFBundleExecutable</key> +<string>${EXECUTABLE_NAME}</string> +<key>CFBundleIconFile</key> +<string></string> +<key>CFBundleInfoDictionaryVersion</key> +<string>6.0</string> +<key>CFBundleName</key> +<string>${PRODUCT_NAME}</string> +<key>CFBundlePackageType</key> +<string>APPL</string> +<key>CFBundleSignature</key> +<string>????</string> + + + + + Targets + + + ProductType + com.apple.product-type.application + SharedSettings + + WRAPPER_EXTENSION + app + + Configurations + + Debug + + COPY_PHASE_STRIP + NO + GCC_DYNAMIC_NO_PIC + NO + + Release + + COPY_PHASE_STRIP + YES + + + BuildPhases + + + Class + Sources + + + Class + Frameworks + + + Class + Resources + + + + + + diff --git a/xcode/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist b/xcode/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist new file mode 100644 index 00000000..4cb77db9 --- /dev/null +++ b/xcode/SFML Command Line Tool Base.xctemplate/TemplateInfo.plist @@ -0,0 +1,585 @@ + + + + + + + Kind + Xcode.Xcode3.ProjectTemplateUnitKind + Identifier + org.sfml-dev.commandLineToolBase + + Ancestors + + com.apple.dt.unit.macBase + + + + Options + + + + Identifier + windowModule + Name + Use window module + Description + Indicates whether window module should be used or not. + Type + checkbox + SortOrder + 1 + Default + true + Units + + + true + + + Project + + SharedSettings + + WINDOW_RELEASE + -lsfml-window + + WINDOW_DEBUG + -lsfml-window-d + + + + + Definitions + + main.cpp:window:include + #include <SFML/Window.hpp> + + main.cpp:main:window:content + sf::Window window(sf::VideoMode(800, 600), "SFML window"); + + + main.cpp:system:include + + + main.cpp:main:audio_loop + + + + + false + + + Project + + SharedSettings + + WINDOW_RELEASE + + + WINDOW_DEBUG + + + + + + Definitions + + main.cpp:window:include + + + main.cpp:main:window:content + + + + main.cpp:main:event_loop + + + main.cpp:main:display + + + + + + + + + + Identifier + graphicsModule + RequiredOptions + + windowModule + true + + Name + Use graphics module + Description + Indicates whether graphics module should be used or not. + Type + checkbox + SortOrder + 1 + Default + true + Units + + + true + + + Project + + SharedSettings + + GRAPHICS_RELEASE + -lsfml-graphics + + GRAPHICS_DEBUG + -lsfml-graphics-d + + + + + Definitions + + main.cpp:graphics:include + #include <SFML/Graphics.hpp> + + main.cpp:main:graphics_init_window + // Create the main window +sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window"); + + + main.cpp:main:image_init + +// Load a sprite to display +sf::Image image; + + + main.cpp:main:image_finalize + return EXIT_FAILURE; +sf::Sprite sprite(image); + + + main.cpp:main:image_load + if (!image.LoadFromFile("cute_image.jpg")) + + main.cpp:main:text_init + +// Create a graphical text to display +sf::Font font; + + + main.cpp:main:text_finalize + return EXIT_FAILURE; +sf::Text text("Hello SFML", font, 50); +text.SetColor(sf::Color::Black); + + + main.cpp:main:text_load + if (!font.LoadFromFile("sansation.ttf")) + + main.cpp:main:graphics_display + + // Clear screen + window.Clear(); + + // Draw the sprite + window.Draw(sprite); + + // Draw the string + window.Draw(text); + + + + main.cpp:window:include + + + main.cpp:main:window:content + + + sansation.ttf + + Group + Supporting Files + Path + sansation.ttf + + + cute_image.jpg + + Group + Supporting Files + Path + cute_image.jpg + + + + + Nodes + + sansation.ttf + cute_image.jpg + + + + false + + + Project + + SharedSettings + + GRAPHICS_RELEASE + + + GRAPHICS_DEBUG + + + + + + Definitions + + main.cpp:graphics:include + + + main.cpp:main:graphics_init + + + main.cpp:main:graphics_display + + + main.cpp:main:image_load + + + + + + + + + Identifier + audioModule + Name + Use audio module + Description + Indicates whether audio module should be used or not. + Type + checkbox + SortOrder + 1 + Default + true + Units + + + true + + + Project + + SharedSettings + + AUDIO_RELEASE + -lsfml-audio + + AUDIO_DEBUG + -lsfml-audio-d + + + + + Definitions + + main.cpp:audio:include + #include <SFML/Audio.hpp> + + main.cpp:main:audio:content + +// Load a music to play +sf::Music music; +if (!music.OpenFromFile("nice_music.ogg")) + return EXIT_FAILURE; + +// Play the music +music.Play(); + + nice_music.ogg + + Group + Supporting Files + Path + nice_music.ogg + + + + + Nodes + + nice_music.ogg + + + + false + + + Project + + SharedSettings + + AUDIO_RELEASE + + + AUDIO_DEBUG + + + + + + Definitions + + main.cpp:audio:include + + + main.cpp:main:audio:content + + + + + + + + + Identifier + networkModule + Name + Use network module + Description + Indicates whether network module should be used or not. + Type + checkbox + SortOrder + 1 + Default + true + Units + + + true + + + Project + + SharedSettings + + NETWORK_RELEASE + -lsfml-network + + NETWORK_DEBUG + -lsfml-network-d + + + + + Definitions + + main.cpp:network:include + #include <SFML/Network.hpp> + + + + + + false + + + Project + + SharedSettings + + NETWORK_RELEASE + + + NETWORK_DEBUG + + + + + + Definitions + + main.cpp:network:include + + + + + + + + + + + + Nodes + + main.cpp:system:include + main.cpp:window:include + main.cpp:graphics:include + main.cpp:audio:include + main.cpp:network:include + main.cpp:resources_comment + main.cpp:main:window:content + main.cpp:main:graphics_init_window + main.cpp:main:image_init + main.cpp:main:image_load + main.cpp:main:image_finalize + main.cpp:main:text_init + main.cpp:main:text_load + main.cpp:main:text_finalize + main.cpp:main:audio:content + main.cpp:main:audio_loop + main.cpp:main:event_loop + main.cpp:main:graphics_display + main.cpp:main:display + + + + + Definitions + + + *:main + + Beginning + +int main (int argc, const char * argv[]) +{ + End + + return EXIT_SUCCESS; +} + Indent + 1 + + + main.cpp:system:include + #include <SFML/System.hpp> + + main.cpp:main:event_loop + +// Start the game loop +while (window.IsOpened()) +{ + // Process events + sf::Event event; + while (window.PollEvent(event)) + { + // Close window : exit + if (event.Type == sf::Event::Closed) + window.Close(); + + // Escape pressed : exit + if (event.Type == sf::Event::KeyPressed && event.Key.Code == sf::Key::Escape) + window.Close(); + } + + + main.cpp:main:display + + // Update the window + window.Display(); +} + + + main.cpp:resources_comment + +/* Resources : + * =========== + * + * In order to load the resources like cute_image.png, you have to set up + * your target scheme : + * + * - Select "Edit Scheme…" in the "Product" menu; + * - Check the box "use custom working directory"; + * - Fill the text field with the folder path containing your resources; + * (e.g. your project folder) + * - Click OK. + */ + + + main.cpp:main:audio_loop + while (music.GetStatus() == sf::Music::Playing) { + sf::Sleep(100); +} + + + + + Project + + + Name + ___PACKAGENAME___ + + + SharedSettings + + PRODUCT_NAME + $(TARGET_NAME) + + SYSTEM_RELEASE + -lsfml-system + SYSTEM_DEBUG + -lsfml-system-d + + HEADER_SEARCH_PATHS + $(HEADER_SEARCH_PATHS) /usr/local/include/ + + + Configurations + + + Debug + + OTHER_LDFLAGS +$(OTHER_LDFLAGS) $(SYSTEM_DEBUG) $(WINDOW_DEBUG) $(GRAPHICS_DEBUG) $(AUDIO_DEBUG) $(NETWORK_DEBUG) + + + + + Release + + OTHER_LDFLAGS +$(OTHER_LDFLAGS) $(SYSTEM_RELEASE) $(WINDOW_RELEASE) $(GRAPHICS_RELEASE) $(AUDIO_RELEASE) $(NETWORK_RELEASE) + + + + + diff --git a/xcode/SFML Command Line Tool Base.xctemplate/cute_image.jpg b/xcode/SFML Command Line Tool Base.xctemplate/cute_image.jpg new file mode 100644 index 00000000..20724fa9 Binary files /dev/null and b/xcode/SFML Command Line Tool Base.xctemplate/cute_image.jpg differ diff --git a/xcode/SFML Command Line Tool Base.xctemplate/nice_music.ogg b/xcode/SFML Command Line Tool Base.xctemplate/nice_music.ogg new file mode 100644 index 00000000..f764d61d Binary files /dev/null and b/xcode/SFML Command Line Tool Base.xctemplate/nice_music.ogg differ diff --git a/xcode/SFML Command Line Tool Base.xctemplate/sansation.ttf b/xcode/SFML Command Line Tool Base.xctemplate/sansation.ttf new file mode 100644 index 00000000..d85fbc81 Binary files /dev/null and b/xcode/SFML Command Line Tool Base.xctemplate/sansation.ttf differ diff --git a/xcode/SFML Command Line Tool.xctemplate/TemplateIcon.icns b/xcode/SFML Command Line Tool.xctemplate/TemplateIcon.icns new file mode 100644 index 00000000..477431ba Binary files /dev/null and b/xcode/SFML Command Line Tool.xctemplate/TemplateIcon.icns differ diff --git a/xcode/SFML Command Line Tool.xctemplate/TemplateInfo.plist b/xcode/SFML Command Line Tool.xctemplate/TemplateInfo.plist new file mode 100644 index 00000000..bb0c4b9d --- /dev/null +++ b/xcode/SFML Command Line Tool.xctemplate/TemplateInfo.plist @@ -0,0 +1,74 @@ + + + + + + + + + Ancestors + + org.sfml-dev.commandLineToolBase + com.apple.dt.unit.base + + + + Concrete + + + + Description + This template builds a command-line tool using SFML. + Identifier + org.sfml-dev.commandLineTool + Kind + Xcode.Xcode3.ProjectTemplateUnitKind + + + Targets + + + + + BuildPhases + + + Class + Sources + + + Class + Frameworks + + + ProductType + com.apple.product-type.tool + + + + diff --git a/xcode/readme.txt b/xcode/readme.txt new file mode 100644 index 00000000..ce2d4b30 --- /dev/null +++ b/xcode/readme.txt @@ -0,0 +1,43 @@ +XCODE 4 TEMPLATES +================= + +These are templates to create easily a new project in Xcode 4. + +Features +-------- + + * You can choose between command line tool or bundle application. + * You can select or not each module of SFML you'll use into your project. + * A basic example is inserted automatically into your project's code. + +Install +------- + +Copy the four folders into ~/Library/Developer/Xcode/Templates folder (you might need to create it first). + +Usage +----- + +To use these templates follow these steps : + + * open Xcode 4, + * select «create a new Xcode project» from the «Welcome to Xcode» window or select menu File > New > New Project, + * select «Templates» under «Mac OS X», + * then select either «SFML Application» or «SFML Command Line Tool», + * fill in the requested information and you're done. + +Note +---- + +If you wish to add/remove any module of SFML from your project without rebuilding a new one follow these steps : + + * select your project from the project navigator panel (cmd+1), + * select your project's target on the main area, + * go to the «Build Settings» tab, + * go down to the bottom, + * edit any MODULEX_CONFIG variable (e.g. AUDIO_DEBUG, NETWORK_RELEASE) you want to. + +Examples : + + * to disable the audio module simply erase the content of AUDIO_DEBUG and AUDIO_RELEASE. + * to add the network module set NETWORK_DEBUG to '-lsfml-network-d' and NETWORK_RELEASE to '-lsfml-network'.