<div class="gmail_quote"><br>Here is the latest which includes wroking build of dcmtk NOTE the additon of -DINSTALL_PREFIX=${INSTALL_PREFIX} as dcmtk required this move its install eventhought CMAKE_INSTALL_PREFIX was specified. Boost is still not building as boost wave and serialization do not build, but hey I guess 82 out of 84 packages isn't bad odds. Also not the removal of "in" in the foreach block. An error on my part above.<br>
<br>The addition of BINARY_DIR ${BUILD_DIR}/ouput/bin/${PACKAGE} as suggested by David works. Thanks David.<div class="im"><br><br><br>SET( THIRD_PARTY_PACKAGES<br> vtk-5.4.2<br> dcmtk-3.5.4<br> boost-cmake-1_41_0 <br>
)<br><br></div>
foreach( PACKAGE ${THIRD_PARTY_PACKAGES} )<div class="im"><br><br> ExternalProject_Add(<br> ${PACKAGE}<br> DOWNLOAD_COMMAND ""<br> SOURCE_DIR ${TOP}/source/cpp/lib/3rdParty/Win/${PACKAGE}<br>
</div> BINARY_DIR ${BUILD_DIR}/ouput/bin/${PACKAGE}<br>
INSTALL_DIR ${INSTALL_PREFIX}<br> CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} -DINSTALL_PREFIX=${INSTALL_PREFIX}<br> )<br><br>endforeach( PACKAGE )<br><br>I just wanted to post and update with some corrections for those who may find this useful.<font color="#888888"></font><br>
</div><br clear="all"><br>-- <br>Brian J. Davis<br><br>