Changes between Version 6 and Version 7 of BuildingOnMINGW64CMake


Ignore:
Timestamp:
Jun 10, 2013, 2:39:10 PM (11 years ago)
Author:
robe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnMINGW64CMake

    v6 v7  
    4848export GEOS_VER=3.4.0dev
    4949tools/svn_repo_revision.sh
    50 rm -rf build/mingw
    51 mkdir -p build/mingw
    52 cd build/mingw
     50cd ..
     51rm -rf build
     52mkdir -p build
     53cd build
    5354
    5455## if building for windows 64-bit you need to add the -DHAVE_LONG_LONG_INT_64
    5556##  because geos for some reason can't figure this out
    5657##  (for 32-bit you should leave it out)
    57 ## Also not that the -DGEOS_ENABLE_INLINE=ON should in theory work but doesn't seem to
     58## without -DGEOS_ENABLE_INLINE=NO get linker failurresss with complete of duplicate .inl
    5859## fully so it doesn't matter if you put it in since i have it hardcoded in my patch for mingw64
    5960## geos in theory should be able to figure out that -DHAVE_STD_ISNAN too but can't for mingw64 (both 32-bit and 64-bit chains)
    6061
    61 cmake -G "MSYS Makefiles" ../trunk -DCMAKE_INSTALL_PREFIX:PATH=${PROJECTS}/geos/rel-${GEOS_VER}w${OS_BUILD} -DHAVE_STD_ISNAN=1 -DHAVE_LONG_LONG_INT_64=1 -DGEOS_ENABLE_INLINE=ON  -DGEOS_ENABLE_TESTS=ON
     62cmake -G "MSYS Makefiles" ../trunk -DCMAKE_INSTALL_PREFIX:PATH=${PROJECTS}/geos/rel-${GEOS_VER}w${OS_BUILD} -DHAVE_STD_ISNAN=1 -DHAVE_LONG_LONG_INT_64=1 -DGEOS_ENABLE_INLINE=NO  -DGEOS_ENABLE_TESTS=ON
    6263make
    6364make test