Changeset 1995 for trunk/external


Ignore:
Timestamp:
Oct 9, 2012, 12:34:40 PM (7 years ago)
Author:
sam
Message:

build: upgrade glew binaries to 1.9.0 and rename the contrib directory
to external so as to avoid some autocompletion collisions with "configure".

Location:
trunk/external
Files:
11 added
2 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/external/NOTES

    r1933 r1995  
    1 #####################
    2 # Building contribs #
    3 #####################
     1##############################
     2# Building external software #
     3##############################
    44
    55
     
    99Download page: http://sourceforge.net/projects/glew/files/glew
    1010
    11 - fix config/Makefile.linux-mingw32 and config/Makefile.linux-mingw64 to
    12   get the right compiler and linker executable names.
     11- take the pre-compiled glew32s.lib ("s" is for "static") versions for
     12  both win32 and win64.
    1313
    14     sed -i 's/i586-mingw32msvc/i686-w64-mingw32/g' config/*.linux-mingw32
    15     sed -i 's/amd64-mingw32msvc/x86_64-w64-mingw32/g' config/*.linux-mingw64
    16 
    17 - fix Makefile for static builds
    18 
    19     sed -i 's/-DGLEW_NO_GLU.*CFLAGS[^P]*CFLAGS/-DGLEW_STATIC &/g' Makefile
    20 
    21 - build for Win32
    22 
    23     make SYSTEM=linux-mingw32 clean all
    24     i686-w64-mingw32-ranlib lib/libglew32.a
    25 
    26 - copy lib/libglew32.a in the contrib directory as glew32.lib
    27 
    28 - build for Win64
    29 
    30     make SYSTEM=linux-mingw64 clean all
    31     x86_64-w64-mingw32-ranlib lib/libglew32.a
    32 
    33 - copy lib/libglew32.a in the contrib directory as glew32.lib
     14- copy include/GL/ in the external directory.
    3415
    3516
Note: See TracChangeset for help on using the changeset viewer.