<div dir="ltr">Setup: Visual Studio 2013 Express, Ninja Version 1.5.1.git, Windows 7x64, CMake 3.0.1<div><br></div><div>I am trying to build my project and when ninja gets to the point of copying a directory it fails most of the time. Sometimes (I think on a clean build) it works. Always fails when I am running the "ninja package'. Here is the cmake code that I use.</div><div><br></div><div><div>#-------------------------------------------------------------------------------</div><div>#- This copies all the Prebuilt Pipeline files into the Build directory so the help</div><div>#- works from the Build Tree</div><div>add_custom_target(PrebuiltPipelinesCopy ALL</div><div>            COMMAND ${CMAKE_COMMAND} -E copy_directory ${DREAM3D_SUPPORT_DIR}/PrebuiltPipelines</div><div>            ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}/PrebuiltPipelines/</div><div>            COMMENT "Copying Prebuilt Pipelines into Binary Directory")</div><div>set_target_properties(PrebuiltPipelinesCopy PROPERTIES FOLDER ZZ_COPY_FILES)</div><div><br></div><div># Make Sure this target as part of the DREAM3D Build</div><div>add_dependencies(DREAM3D PrebuiltPipelinesCopy)</div><div><br></div><div>#- This installs all the help files. Note that we assume a flat directory structure</div><div>#- in the "Help" folder, ie, all html files, images, etc are all in the "Help"</div><div>#- folder and NOT in any subfolders beyond that.</div><div>install(DIRECTORY ${DREAM3D_SUPPORT_DIR}/PrebuiltPipelines</div><div>        DESTINATION .</div><div>        COMPONENT Applications )</div><div><br></div><div>I can not figure out what is going wrong. Visual Studio will sometimes fail also. Has anyone encountered this before?</div><div><br></div><div><br>Thanks</div><div>_________________________________________________________<br>Mike Jackson                  <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>BlueQuartz Software                    <a href="http://www.bluequartz.net">www.bluequartz.net</a><br>Principal Software Engineer                  Dayton, Ohio</div>
</div></div>