<div dir="ltr">This is sort of a place holder...<div><br></div><div>I have defined </div><div><div>set( CMAKE_INSTALL_MESSAGE "LAZY" )</div></div><div><br></div><div>I have a CMakeLists.txt that may be added multiple times that does</div><div><br></div><div><div>SET( BASE_IMAGES</div><div>${CMAKE_CURRENT_SOURCE_DIR}/frame_border.png</div><div>${CMAKE_CURRENT_SOURCE_DIR}/sky.jpg</div><div>${CMAKE_CURRENT_SOURCE_DIR}/dial2a.png</div><div>${CMAKE_CURRENT_SOURCE_DIR}/dial2.png</div><div>${CMAKE_CURRENT_SOURCE_DIR}/dial1a.png</div><div>${CMAKE_CURRENT_SOURCE_DIR}/dial1.png</div><div>)</div></div><div><br></div><div><div>if( INSTALL_FRAME_BORDER )</div><div>  INSTALL( </div><div>    FILES</div><div>      ${BASE_IMAGES}</div><div>    DESTINATION</div><div>      ${INSTALL_FRAME_BORDER}</div><div>  )</div><div>endif( INSTALL_FRAME_BORDER )</div></div><div><br></div><div>-----</div><div>which is included in one place</div><div><div>set( INSTALL_FRAME_BORDER ${INTERFACE_OUTPUT_DIR}/images )</div><div>add_subdirectory( data )</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div>This command doesn't work, it says 'no directory INSTALL' when the directory is actually '.'  (after --build)... I'd like to know what's triggering the copy.  The file is up-to-date and, is the only one in the set that does this.</div><div><br></div><div>C:\tools\unix\cmake\bin\cmake.exe --trace --build . --config Debug --target INSTALL<br></div><div><br></div><div>This command usually has "-- /m:4 /v:m" appended to it, and --trace also doesn't respect -- as end of command line options</div><div>------------</div><div><br></div><div><br></div><div>My output's last 3 lines are </div><div>------------------</div><div>  -- Install configuration: "Debug"<br></div><div><div>  -- Installing: C:/General/Build/sack/debug_out/core/bin/images/sky.jpg</div><div>  -- Installing: C:/General/Build/sack/debug_out/core/bin/images/sky.jpg</div></div><div>----------<br></div><div><br></div><div><br></div><div><br></div><div>cmake_install.cmake has these lines referencing sky.jpg</div><div><br></div><div>/* installs to .../bin/images */</div><div>/*${CMAKE_BINARY_DIR}/data/cmake_installl.cmake */</div><div><div>if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")</div><div>  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/images" TYPE FILE MESSAGE_LAZY FILES</div><div>    "c:/General/Work/sack/data/frame_border.png"</div><div>    "c:/General/Work/sack/data/sky.jpg"</div><div>    "c:/General/Work/sack/data/dial2a.png"</div><div>    "c:/General/Work/sack/data/dial2.png"</div><div>    "c:/General/Work/sack/data/dial1a.png"</div><div>    "c:/General/Work/sack/data/dial1.png"</div><div>    )</div><div>endif()</div><div><br></div></div><div><div><br></div><div>/* installs to .../resources/images */</div></div><div>/* ${CMAKE_BINARY_DIR}/src/msgsvr/testdisplay/cmake_install.cmake */<br></div><div><div>if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")</div><div>  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/resources/images" TYPE FILE MESSAGE_LAZY FILES</div><div>    "c:/General/Work/sack/src/msgsvr/testdisplay/background.jpg"</div><div>    "c:/General/Work/sack/src/msgsvr/testdisplay/daub.png"</div><div>    "c:/General/Work/sack/src/msgsvr/testdisplay/playagain.jpg"</div><div>    "c:/General/Work/sack/src/msgsvr/testdisplay/playing.jpg"</div><div>    "c:/General/Work/sack/src/msgsvr/testdisplay/sky.jpg"</div><div>    "c:/General/Work/sack/src/msgsvr/testdisplay/slot_strip.2.jpg"</div><div>    "c:/General/Work/sack/src/msgsvr/testdisplay/slot_strip.jpg"</div><div>    )</div><div>endif()</div></div><div><br></div><div>-------------------------</div><div><br></div><div>There's only the 2 references and the image is only reported as installed twice into bin/images ...   but it is 'installed' every time... whereas all of the other files that are referenced with it are not.</div><div><br></div><div>Any idea how I can figure out why?</div></div>