~marcustomlinson/unity-js-scopes/lp-1541720

« back to all changes in this revision

Viewing changes to src/launcher/CMakeLists.txt

  • Committer: Marcus Tomlinson
  • Date: 2015-11-09 12:54:21 UTC
  • Revision ID: marcus.tomlinson@canonical.com-20151109125421-zuqmfdk1cvqir4dq
Added python scope-harness tests (starting with an OpenWeatherMap test scope)

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
  ${Boost_LIBRARIES}
69
69
  )
70
70
 
 
71
add_custom_command(
 
72
  TARGET ${LAUNCHER_EXECUTABLE_NAME} POST_BUILD
 
73
  COMMAND ${CMAKE_COMMAND} -E make_directory
 
74
    "${CMAKE_BINARY_DIR}/tests/node_modules/unity-js-scopes/bin"
 
75
 
 
76
  COMMAND ${CMAKE_COMMAND} -E copy_if_different
 
77
    "${CMAKE_CURRENT_BINARY_DIR}/unity-js-scopes-launcher"
 
78
    "${CMAKE_BINARY_DIR}/tests/node_modules/unity-js-scopes/bin"
 
79
)
 
80
 
71
81
install(TARGETS ${LAUNCHER_EXECUTABLE_NAME}
72
82
        RUNTIME DESTINATION /usr/bin)