CompleteBundle.cmake 405 B

1234567891011121314151617
  1. if(APPLE)
  2. set(SCRIPT CompleteBundleOSX)
  3. elseif(WIN32)
  4. set(SCRIPT CompleteBundleWin)
  5. endif(APPLE)
  6. option(CODE_SIGN "code sign the app" OFF)
  7. if(CODE_SIGN)
  8. set(DO_SIGN 1)
  9. else(CODE_SIGN)
  10. set(DO_SIGN 0)
  11. endif(CODE_SIGN)
  12. if(SCRIPT)
  13. configure_file(${CMAKE_SOURCE_DIR}/CMakeModules/${SCRIPT}.cmake.in ${SCRIPT}.cmake @ONLY)
  14. install(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/${SCRIPT}.cmake)
  15. endif(SCRIPT)