Commit Graph

62 Commits

Author SHA1 Message Date
Marco Antognini
bfda3b8c34 Improved Xcode templates and the readme (Close #224) 2012-07-08 19:43:53 +02:00
Marco Antognini
51680ac49c Substituted tabulations with spaces and fixed an issue similar to #233 2012-07-08 19:43:53 +02:00
Marco Antognini
a39d36e0db Fixed templates' compatibility issue with Xcode 4.3.3 (Close #233) 2012-06-16 13:28:46 +02:00
Marco Antognini
cc4a5e2d48 Improved Xcode Templates (close #212) 2012-04-25 17:45:07 +02:00
Marco Antognini
c741b6459f Updated the copyright text 2012-03-14 14:37:17 +01:00
Marco Antognini
2ef92a2af2 Updated Mac OS X code according to commits ff5b69d312 and 14ac411542 2012-03-12 23:04:06 +01:00
Marco Antognini
77ec92ce5e Fix Xcode template
Script didn't work when there is a space in the project name
2012-02-14 23:44:04 +01:00
Marco Antognini
2a083ea202 SFML-Cocoa is now part of the cmake-based examples
Removes Xcode project
Fixes a crash and
Silences system alerts in this example
2012-01-30 12:23:18 +01:00
Marco Antognini
00027eb6c1 Update Xcode templates according to commit c2039e8 (s/IsOpened/IsOpen/) 2012-01-15 22:59:05 +01:00
John Bartholomew
2ac7653608 Add pkg-config files, optionally installed by CMake on Linux builds.
The modules provided are:

  - sfml-system
  - sfml-graphics
  - sfml-window
  - sfml-audio
  - sfml-network
  - sfml-all (depends on all the above modules)

They are installed to ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig/
which is the standard location for pkg-config files on Linux.

An example use if using autotools:

    # configure.ac
    AC_INIT([sfml-example],[1.0],[example@example.com])
    AM_INIT_AUTOMAKE([foreign])
    AC_PROG_CXX
    PKG_CHECK_MODULES([sfml],
        [sfml-all >= 2.0.0],
        [], [AC_MSG_ERROR([SFML is required])])
    AC_CONFIG_FILES([Makefile])
    AC_OUTPUT

    # Makefile.am
    bin_PROGRAMS = sfml_example
    sfml_example_SOURCES = src/sfml_example.cpp
    sfml_example_CFLAGS = $(sfml_CFLAGS)
    sfml_example_LIBS = $(sfml_LIBS)

An example if using hand-written Makefiles:

    # Makefile
    sfml-example: src/sfml-example.cpp
        g++ `pkg-config --cflags --libs sfml-all` -o $@ $^
2012-01-10 21:08:20 +00:00
Marco Antognini
adca58059c minor update of Cocoa-SFML example 2012-01-07 16:20:01 +01:00
Marco Antognini
2720532d63 move xcode/ into tools/ 2012-01-07 15:34:11 +01:00