CMakeLists.txt 676 B

123456789101112131415161718192021222324252627
  1. INSTALL(FILES
  2. context_data.crf
  3. context_data.lib
  4. cs219.lib
  5. do_not_delete
  6. do_not_delete.phr
  7. do_not_delete.pin
  8. do_not_delete.psq
  9. PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
  10. DESTINATION data
  11. )
  12. include(ResourceCompiler)
  13. set(COMPILED_RESOURCES
  14. context_data.crf
  15. context_data.lib
  16. cs219.lib
  17. )
  18. set(GENERATED_OUTPUT_HEADERS "")
  19. FOREACH(INPUT_FILE ${COMPILED_RESOURCES})
  20. compile_resource(${INPUT_FILE} OUTPUT_FILE)
  21. list(APPEND GENERATED_OUTPUT_HEADERS "${OUTPUT_FILE}")
  22. ENDFOREACH()
  23. add_custom_target(generated ALL DEPENDS ${GENERATED_OUTPUT_HEADERS})