This revision compiles and runs on Win7x64- but further evaluation is necessary. There may be an issue with cmake step -After cmake I had to copy rtgui/version.h & config.h into out of source build /rtgui folder. Additional notes: - ImProcFunctions::hsv2rgb01 -> this likely need to be added to color.h & color.cc - Use of array2D should be verified in NR code - compilation warning for rtengine::RawImageSource::isWBProviderReady()
15 lines
475 B
Bash
15 lines
475 B
Bash
#!/usr/bin/env bash
|
|
hgBranch="`hg branch`"
|
|
hgLatesttag="`hg parents --template '{latesttag}'`"
|
|
hgLatesttagdistance="`hg parents --template '{latesttagdistance}'`"
|
|
hgChangeset="`hg parents --template '{node|short}'`"
|
|
|
|
echo "set(HG_BRANCH $hgBranch)
|
|
set(HG_VERSION $hgLatesttag.$hgLatesttagdistance)
|
|
set(HG_CHANGESET $hgChangeset)
|
|
set(HG_TAGDISTANCE $hgLatesttagdistance)
|
|
if (CACHE_NAME_SUFFIX STREQUAL \"\")
|
|
set(CACHE_NAME_SUFFIX $hgLatesttag)
|
|
endif()" > ReleaseInfo.cmake
|
|
|