~davidc3/+junk/js-scopes-misc

« back to all changes in this revision

Viewing changes to src/launcher/CMakeLists.txt

  • Committer: Alexandre Abreu
  • Date: 2015-07-20 21:05:06 UTC
  • mfrom: (12.1.3 latest)
  • Revision ID: alexandre.abreu@canonical.com-20150720210506-sb68o2lasi8gqu12
Fix launcher scope_id; updated JS api; start porting to better v8cpp bindings; fix scope_id

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
  ${Boost_LIB_DIRS}
40
40
)
41
41
 
42
 
set(EXECUTABLE_NAME unity-js-scopes-launcher)
 
42
set(LAUNCHER_EXECUTABLE_NAME unity-js-scopes-launcher)
 
43
 
 
44
configure_file(
 
45
    config.h.in
 
46
    ${CMAKE_CURRENT_BINARY_DIR}/config.h
 
47
    @ONLY)
43
48
 
44
49
add_executable(
45
 
    ${EXECUTABLE_NAME}
 
50
    ${LAUNCHER_EXECUTABLE_NAME}
46
51
    ${SRC_FILES}
47
52
    )
48
53
 
58
63
  )
59
64
 
60
65
target_link_libraries(
61
 
  ${EXECUTABLE_NAME}
 
66
  ${LAUNCHER_EXECUTABLE_NAME}
62
67
 
63
68
  -Wl,--whole-archive iojs -Wl,--no-whole-archive
64
69
  uv
82
87
  dl
83
88
  )
84
89
 
85
 
install(TARGETS ${EXECUTABLE_NAME}
 
90
install(TARGETS ${LAUNCHER_EXECUTABLE_NAME}
86
91
        RUNTIME DESTINATION /usr/bin)