add_test_sources.cmake 273 B

1234567
  1. # By including this file all files in ${headers} and ${source} is
  2. # added to test_sources.
  3. foreach(file ${headers} ${source})
  4. list(APPEND these_sources ${CMAKE_CURRENT_SOURCE_DIR}/${file})
  5. endforeach(file)
  6. set(test_sources ${test_sources} ${these_sources} PARENT_SCOPE)