Commit Graph

92 Commits

Author SHA1 Message Date
Marco Antognini
f80f501885 Update Xcode template material 2015-09-30 08:19:12 +02:00
binary1248
e80bf0ba92 Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
Ceylo
ce16554763 SFML#541 Use openal-soft 1.16 as default OpenAL framework on OS X instead of the system's one 2015-03-25 22:47:39 +01:00
Marco Antognini
0c2f306c17 Updated copyright year and Laurent's email address 2015-03-04 09:36:25 +01:00
Marco Antognini
e22bb627c7 Updated Xcode templates
- The installation paths are no longer hard coded; cmake now configures them so that Frameworks and libs can be installed somewhere else.
- No longer copy sndfile.framework but instead copy the new dependencies of the audio module.
- No longer copy .DS_Store to the install directory.
2015-03-04 09:33:08 +01:00
Zachariah Brown
1de7644277 Updated copyright year and Laurent's email address 2015-03-02 13:41:54 -05:00
Marco Antognini
2a8015be93 Fixed Xcode templates to work with any SOVERSION 2014-12-07 10:29:55 +01:00
Marco Antognini
9a8ba74c62 Updated Xcode templates
Since the @loader_path was replaced with @rpath, to correctly load
binaries from within a bundle app we need to add the Frameworks
subdirectory to the run path list.
2014-10-07 10:58:39 +02:00
Stefan Schindler
f24ca9a840 Source code changes.
* Changed newlines to \n.
* Removed whitespace before colons.
* Fixed several alignments.
2014-10-06 01:18:47 +02:00
Marco Antognini
6c802952fb Added config of Xcode templates according to CMAKE_OSX_ARCHITECTURES 2014-05-23 09:52:18 +02:00
Marco Antognini
ea0364d568 Renamed INSTALL_XCODE4_TEMPLATES to INSTALL_XCODE_TEMPLATES
Templates are compatible with versions 4 and 5 of Xcode.
2014-05-23 09:52:18 +02:00
Marco Antognini
d8812f0f5c Add support for retina displays (close #353)
Based on PR #388 by Michael Bradshaw

Convert size to match the size requested by the user.
2014-04-21 18:06:44 +02:00
Marco Antognini
f6edb83acd Updated Xcode templates readme
Now that cmake is used to configure the template we cannot simply copy the templates to /Library. Using cmake to build the template is mandatory.
2014-04-20 22:07:16 +02:00
Jonathan De Wachter
050dd6f5dc [Android] Updated scripts to use libc++ when building extlibs 2014-04-20 12:58:31 +02:00
Jonathan De Wachter
4180e6b31f [Android] Added tools (unix bash scripts) to recompile Android extlibs
For some reason, one might want to recompile the extlibs but this is a tedious task. That's why these scripts are provided.
Please read readme.txt before using them!
2014-04-20 12:56:49 +02:00
Marco Antognini
19012c66ea Updated Xcode templates and cmake script
What's new in the templates:
 - Removed support for 32 bits and gcc
 - Removed useless code
 - Removed custom warnings settings – let Xcode decide with its default values
 - Set default target version to CMAKE_OSX_DEPLOYMENT_TARGET

What's new in cmake script:
 - Added cmake options for archs and deployment target
 - Added minimum requirements checking
2014-04-15 20:19:12 +02:00
Jan Haller
12d81304e6 Updated copyright year to 2014 2014-02-06 20:08:26 +01:00
Marco Antognini
42cf79bfc3 Updated Xcode's templates readme 2013-10-04 20:57:42 +02:00
Marco Antognini
2ea3beb1f6 Update Xcode template default choice for compiler / std lib
Use by default Clang with libc++ for C++11 support since it will most
probably be the default download choice for SFML 2.2.
2013-09-22 19:16:17 +02:00
Marco Antognini
3a809d98f1 Fix template compatibility with Xcode 5 2013-09-22 19:03:36 +02:00
Marco Antognini
735aed62b0 Remove more trailing spaces 2013-09-22 18:58:50 +02:00
Marco Antognini
00bc73f1f3 Minor improvement of Xcode templates 2013-09-21 21:44:25 +02:00
Marco Antognini
1b113c2c22 Fix typo 2013-09-20 18:52:57 +02:00
Marco Antognini
90f4dbc89b Fix typo (close #438) 2013-07-29 15:55:31 +02:00
Marco Antognini
802b9378cb Improve Xcode templates : now you can target 10.5 without headache ! 2013-01-21 12:42:58 +01:00
Marco Antognini
a674135834 Improve Xcode templates post build script : now copy freetype too
Additionally, the script is more robust and can explain what failed.
2013-01-21 08:45:04 +01:00
Marco Antognini
b4941d0f9e Improve Xcode 4 templates (close #285)
This is a complete rewrite.
2013-01-19 11:02:16 +01:00
Alex Charron
655a4dc33d Added dependencies to pkg-config files. 2012-08-02 12:05:27 -04:00
Marco Antognini
bdfc2dc3f5 Improved Xcode templates 2012-07-16 18:00:04 +02:00
Marco Antognini
396f675ca2 Fixed Xcode templates script 2012-07-13 12:09:11 +02:00
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