Changeset View
Changeset View
Standalone View
Standalone View
build_files/build_environment/cmake/harvest.cmake
| Show All 16 Lines | COMMAND # jpeg rename libfile + copy include | ||||
| ${CMAKE_COMMAND} -E copy ${LIBDIR}/jpeg/lib/jpeg-static.lib ${HARVEST_TARGET}/jpeg/lib/libjpeg.lib && | ${CMAKE_COMMAND} -E copy ${LIBDIR}/jpeg/lib/jpeg-static.lib ${HARVEST_TARGET}/jpeg/lib/libjpeg.lib && | ||||
| ${CMAKE_COMMAND} -E copy_directory ${LIBDIR}/jpeg/include/ ${HARVEST_TARGET}/jpeg/include/ && | ${CMAKE_COMMAND} -E copy_directory ${LIBDIR}/jpeg/include/ ${HARVEST_TARGET}/jpeg/include/ && | ||||
| # png | # png | ||||
| ${CMAKE_COMMAND} -E copy ${LIBDIR}/png/lib/libpng16_static.lib ${HARVEST_TARGET}/png/lib/libpng.lib && | ${CMAKE_COMMAND} -E copy ${LIBDIR}/png/lib/libpng16_static.lib ${HARVEST_TARGET}/png/lib/libpng.lib && | ||||
| ${CMAKE_COMMAND} -E copy_directory ${LIBDIR}/png/include/ ${HARVEST_TARGET}/png/include/ && | ${CMAKE_COMMAND} -E copy_directory ${LIBDIR}/png/include/ ${HARVEST_TARGET}/png/include/ && | ||||
| # freeglut-> opengl | # freeglut-> opengl | ||||
| ${CMAKE_COMMAND} -E copy ${LIBDIR}/freeglut/lib/freeglut_static.lib ${HARVEST_TARGET}/opengl/lib/freeglut_static.lib && | ${CMAKE_COMMAND} -E copy ${LIBDIR}/freeglut/lib/freeglut_static.lib ${HARVEST_TARGET}/opengl/lib/freeglut_static.lib && | ||||
| ${CMAKE_COMMAND} -E copy_directory ${LIBDIR}/freeglut/include/ ${HARVEST_TARGET}/opengl/include/ && | ${CMAKE_COMMAND} -E copy_directory ${LIBDIR}/freeglut/include/ ${HARVEST_TARGET}/opengl/include/ && | ||||
| # glew-> opengl | |||||
| ${CMAKE_COMMAND} -E copy ${LIBDIR}/glew/lib/libglew32.lib ${HARVEST_TARGET}/opengl/lib/glew.lib && | |||||
| ${CMAKE_COMMAND} -E copy_directory ${LIBDIR}/glew/include/ ${HARVEST_TARGET}/opengl/include/ && | |||||
| DEPENDS | DEPENDS | ||||
| ) | ) | ||||
| endif() | endif() | ||||
| else(WIN32) | else(WIN32) | ||||
| function(harvest from to) | function(harvest from to) | ||||
| set(pattern "") | set(pattern "") | ||||
| Show All 34 Lines | |||||
| harvest(imath/lib imath/lib "*.a") | harvest(imath/lib imath/lib "*.a") | ||||
| harvest(ffmpeg/include ffmpeg/include "*.h") | harvest(ffmpeg/include ffmpeg/include "*.h") | ||||
| harvest(ffmpeg/lib ffmpeg/lib "*.a") | harvest(ffmpeg/lib ffmpeg/lib "*.a") | ||||
| harvest(fftw3/include fftw3/include "*.h") | harvest(fftw3/include fftw3/include "*.h") | ||||
| harvest(fftw3/lib fftw3/lib "*.a") | harvest(fftw3/lib fftw3/lib "*.a") | ||||
| harvest(flac/lib sndfile/lib "libFLAC.a") | harvest(flac/lib sndfile/lib "libFLAC.a") | ||||
| harvest(freetype/include freetype/include "*.h") | harvest(freetype/include freetype/include "*.h") | ||||
| harvest(freetype/lib/libfreetype2ST.a freetype/lib/libfreetype.a) | harvest(freetype/lib/libfreetype2ST.a freetype/lib/libfreetype.a) | ||||
| harvest(glew/include glew/include "*.h") | harvest(epoxy/include epoxy/include "*.h") | ||||
| harvest(glew/lib glew/lib "*.a") | harvest(epoxy/lib epoxy/lib "*.a") | ||||
| harvest(gmp/include gmp/include "*.h") | harvest(gmp/include gmp/include "*.h") | ||||
| harvest(gmp/lib gmp/lib "*.a") | harvest(gmp/lib gmp/lib "*.a") | ||||
| harvest(jemalloc/include jemalloc/include "*.h") | harvest(jemalloc/include jemalloc/include "*.h") | ||||
| harvest(jemalloc/lib jemalloc/lib "*.a") | harvest(jemalloc/lib jemalloc/lib "*.a") | ||||
| harvest(jpeg/include jpeg/include "*.h") | harvest(jpeg/include jpeg/include "*.h") | ||||
| harvest(jpeg/lib jpeg/lib "libjpeg.a") | harvest(jpeg/lib jpeg/lib "libjpeg.a") | ||||
| harvest(lame/lib ffmpeg/lib "*.a") | harvest(lame/lib ffmpeg/lib "*.a") | ||||
| if(NOT APPLE) | if(NOT APPLE) | ||||
| ▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines | |||||