
macro( natus_vs_gen_bat_for_dlls  )
if( MSVC_IDE ) 
  
# for later usage: rename solution file and remove the old one. Need to be called after generation of solution file
  #file( RENAME ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}.sln ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}.DONT_START_THIS.sln )
  #file( REMOVE ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}.sln )
  file( WRITE "${CMAKE_BINARY_DIR}/START_HERE.bat" "set PATH=%PATH%;${NATUS_BINDIR}" "\n")
  file( APPEND "${CMAKE_BINARY_DIR}/START_HERE.bat" "call ${CMAKE_PROJECT_NAME}.sln" )
  
endif()
endmacro()
