CMake. Little script to regenerate CMake/Xcode files (can't trust CMake to do anything correctly without a script).
parent
ed63a113e1
commit
3d79a2ec86
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
##
|
||||
# regenerate Xcode environment
|
||||
##
|
||||
if [ -e src/actions.cpp -o -e ../src/actions.cpp ]; then
|
||||
if [ ! -e build ]; then mkdir build ; cd build ; fi
|
||||
if [ -e ../src/actions.cpp ]; then
|
||||
cmake .. -G Xcode -DEXIV2_ENABLE_NLS=OFF -DCMAKE_BUILD_TYPE=Debug
|
||||
fi
|
||||
if [ ! -e generate ]; then
|
||||
ln -s ../contrib/cmake/macosx/generate generate
|
||||
fi
|
||||
else
|
||||
echo "*** you must be in exiv2dir or exiv2dir/build ***" >2
|
||||
fi
|
||||
|
||||
# That's all Folks!
|
||||
##
|
Loading…
Reference in New Issue