Setup: Visual Studio 2013 Express, Ninja Version 1.5.1.git, Windows 7x64, CMake 3.0.1
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. #------------------------------------------------------------------------------- #- This copies all the Prebuilt Pipeline files into the Build directory so the help #- works from the Build Tree add_custom_target(PrebuiltPipelinesCopy ALL COMMAND ${CMAKE_COMMAND} -E copy_directory ${DREAM3D_SUPPORT_DIR}/PrebuiltPipelines ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}/PrebuiltPipelines/ COMMENT "Copying Prebuilt Pipelines into Binary Directory") set_target_properties(PrebuiltPipelinesCopy PROPERTIES FOLDER ZZ_COPY_FILES) # Make Sure this target as part of the DREAM3D Build add_dependencies(DREAM3D PrebuiltPipelinesCopy) #- This installs all the help files. Note that we assume a flat directory structure #- in the "Help" folder, ie, all html files, images, etc are all in the "Help" #- folder and NOT in any subfolders beyond that. install(DIRECTORY ${DREAM3D_SUPPORT_DIR}/PrebuiltPipelines DESTINATION . COMPONENT Applications ) I can not figure out what is going wrong. Visual Studio will sometimes fail also. Has anyone encountered this before? Thanks _________________________________________________________ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Software www.bluequartz.net Principal Software Engineer Dayton, Ohio
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake