Changed so that we use the static libraries of SFML instead to reduce the dependency when you want to distribute your ruby applications.

Also seems like that my sfml-all wasn't committed. Should be done now.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1734 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2010-12-03 11:27:38 +00:00
parent 6d66ed1af3
commit c61b4fec47
7 changed files with 31 additions and 5 deletions

View File

@ -0,0 +1,25 @@
# rbSFML - Copyright (c) 2010 Henrik Valter Vogelius Hansson - groogy@groogy.se
# 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.
require 'mkmf'
dir_config("all")
create_makefile("sfml/all", "all")

View File

@ -22,6 +22,6 @@
require 'mkmf'
dir_config("audio")
have_library("sfml-audio")
have_library("sfml-audio-s")
find_header("main.hpp", "../sfml-system/system")
create_makefile("sfml/audio", "audio")

View File

@ -22,6 +22,6 @@
require 'mkmf'
dir_config("graphics")
have_library("sfml-graphics")
have_library("sfml-graphics-s")
find_header("main.hpp", "../sfml-system/system")
create_makefile("sfml/graphics", "graphics")

View File

@ -22,5 +22,5 @@
require 'mkmf'
dir_config("system")
have_library("sfml-system")
have_library("sfml-system-s")
create_makefile("sfml/system", "system")

View File

@ -25,6 +25,8 @@
#include "ruby.h"
#define SFML_STATIC
VALUE RetrieveSFMLClass( const char * aName );
// Ruby initiation function

View File

@ -22,6 +22,6 @@
require 'mkmf'
dir_config("window")
have_library("sfml-window")
have_library("sfml-window-s")
find_header("main.hpp", "../sfml-system/system")
create_makefile("sfml/window", "window")

View File

@ -23,7 +23,6 @@
#include "VideoMode.hpp"
#include "main.hpp"
#include <SFML/Window/VideoMode.hpp>
#include <iostream>
VALUE globalVideoModeClass;