-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
now build_others compiles release and debug builds
- Loading branch information
Andrew Dowsey
committed
Dec 8, 2014
1 parent
3253974
commit 1a71b35
Showing
5 changed files
with
101 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,62 @@ | ||
@echo off | ||
|
||
pushd "%~dp0/eigen-3.2.2" | ||
mkdir build | ||
cd build | ||
cmake -G"NMake Makefiles" -C"..\..\build.cmake" %* .. 2> nul | ||
pushd "%~dp0/zlib-1.2.8" | ||
mkdir build_release | ||
pushd build_release | ||
cmake -G"NMake Makefiles" -C"..\..\release.cmake" %* .. 2> nul | ||
nmake install | ||
popd | ||
|
||
pushd "%~dp0/zlib-1.2.8" | ||
mkdir build | ||
cd build | ||
cmake -G"NMake Makefiles" -C"..\..\build.cmake" %* .. | ||
mkdir build_debug | ||
pushd build_debug | ||
cmake -G"NMake Makefiles" -C"..\..\debug.cmake" %* .. 2> nul | ||
nmake install | ||
popd | ||
rmdir /s /q build_release | ||
rmdir /s /q build_debug | ||
popd | ||
|
||
@pushd "%~dp0/lpng1615" | ||
mkdir build | ||
cd build | ||
cmake -G"NMake Makefiles" -C"..\..\build.cmake" %* .. | ||
pushd "%~dp0/lpng1615" | ||
mkdir build_release | ||
pushd build_release | ||
cmake -G"NMake Makefiles" -C"..\..\release.cmake" %* .. | ||
nmake install | ||
popd | ||
mkdir build_debug | ||
pushd build_debug | ||
cmake -G"NMake Makefiles" -C"..\..\debug.cmake" %* .. | ||
nmake install | ||
popd | ||
rmdir /s /q build_release | ||
rmdir /s /q build_debug | ||
popd | ||
|
||
pushd "%~dp0/hdf5-1.8.14" | ||
mkdir build | ||
cd build | ||
cmake -G"NMake Makefiles" -C"..\..\build.cmake" %* .. | ||
mkdir build_release | ||
pushd build_release | ||
cmake -G"NMake Makefiles" -C"..\..\release.cmake" %* .. | ||
nmake install | ||
popd | ||
|
||
@pushd "%~dp0/spatialindex-src-1.8.5" | ||
mkdir build | ||
cd build | ||
cmake -G"NMake Makefiles" -C"..\..\build.cmake" %* .. | ||
mkdir build_debug | ||
pushd build_debug | ||
cmake -G"NMake Makefiles" -C"..\..\debug.cmake" %* .. | ||
nmake install | ||
popd | ||
rmdir /s /q build_release | ||
rmdir /s /q build_debug | ||
popd | ||
|
||
|
||
pushd "%~dp0/spatialindex-src-1.8.5" | ||
mkdir build_release | ||
pushd build_release | ||
cmake -G"NMake Makefiles" -C"..\..\release.cmake" %* .. | ||
nmake install | ||
popd | ||
mkdir build_debug | ||
pushd build_debug | ||
cmake -G"NMake Makefiles" -C"..\..\debug.cmake" %* .. | ||
nmake install | ||
popd | ||
rmdir /s /q build_release | ||
rmdir /s /q build_debug | ||
popd | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "") | ||
|
||
set(CMAKE_INSTALL_PREFIX "../debug" CACHE PATH "") | ||
|
||
set(Boost_USE_STATIC_LIBS ON CACHE BOOL "") | ||
set(BOOST_ROOT "${CMAKE_CURRENT_LIST_DIR}/boost_1_57_0" CACHE PATH "") | ||
|
||
set(ZLIB_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/zlib-1.2.8/debug/include" CACHE PATH "") | ||
set(ZLIB_LIBRARY "${CMAKE_CURRENT_LIST_DIR}/zlib-1.2.8/debug/lib/zlibstaticd.lib" CACHE FILEPATH "") | ||
|
||
set(HDF5_BUILD_CPP_LIB ON CACHE BOOL "") | ||
set(HDF5_ENABLE_Z_LIB_SUPPORT ON CACHE BOOL "") | ||
set(HDF5_DIR "${CMAKE_CURRENT_LIST_DIR}/hdf5-1.8.14/debug/cmake/hdf5" CACHE PATH "") | ||
|
||
set(PNG_PNG_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/lpng1615/debug/include" CACHE PATH "") | ||
set(PNG_LIBRARY "${CMAKE_CURRENT_LIST_DIR}/lpng1615/debug/lib/libpng16_staticd.lib" CACHE FILEPATH "") | ||
|
||
set(OSGEO4W_ROOT "${CMAKE_CURRENT_LIST_DIR}/spatialindex-src-1.8.5/debug" CACHE PATH "") | ||
|
||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/eigen-3.2.2/cmake" CACHE PATH "") | ||
set(EIGEN3_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/eigen-3.2.2" CACHE PATH "") | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") | ||
|
||
set(CMAKE_INSTALL_PREFIX "../release" CACHE PATH "") | ||
|
||
set(Boost_USE_STATIC_LIBS ON CACHE BOOL "") | ||
set(BOOST_ROOT "${CMAKE_CURRENT_LIST_DIR}/boost_1_57_0" CACHE PATH "") | ||
|
||
set(ZLIB_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/zlib-1.2.8/release/include" CACHE PATH "") | ||
set(ZLIB_LIBRARY "${CMAKE_CURRENT_LIST_DIR}/zlib-1.2.8/release/lib/zlibstatic.lib" CACHE FILEPATH "") | ||
|
||
set(HDF5_BUILD_CPP_LIB ON CACHE BOOL "") | ||
set(HDF5_ENABLE_Z_LIB_SUPPORT ON CACHE BOOL "") | ||
set(HDF5_DIR "${CMAKE_CURRENT_LIST_DIR}/hdf5-1.8.14/release/cmake/hdf5" CACHE PATH "") | ||
|
||
set(PNG_PNG_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/lpng1615/release/include" CACHE PATH "") | ||
set(PNG_LIBRARY "${CMAKE_CURRENT_LIST_DIR}/lpng1615/release/lib/libpng16_static.lib" CACHE FILEPATH "") | ||
|
||
set(OSGEO4W_ROOT "${CMAKE_CURRENT_LIST_DIR}/spatialindex-src-1.8.5/release" CACHE PATH "") | ||
|
||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/eigen-3.2.2/cmake" CACHE PATH "") | ||
set(EIGEN3_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/eigen-3.2.2" CACHE PATH "") | ||
|
||
|
||
|