Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / tools / clang / blink_gc_plugin / CMakeLists.txt
1 # This line is read by update.sh and other scripts in tools/clang/scripts
2 # Note: The spaces are significant.
3 set(LIBRARYNAME BlinkGCPlugin_12)
4
5 add_llvm_loadable_module("lib${LIBRARYNAME}"
6                          BlinkGCPlugin.cpp
7                          Edge.cpp
8                          RecordInfo.cpp
9                         )
10
11 add_dependencies("lib${LIBRARYNAME}" clang)
12
13 cr_install(TARGETS "lib${LIBRARYNAME}" LIBRARY DESTINATION lib)
14
15 cr_add_test(blink_gc_plugin_test
16   ${CMAKE_CURRENT_SOURCE_DIR}/tests/test.sh
17   ${CMAKE_BINARY_DIR}/bin/clang
18   $<TARGET_FILE:lib${LIBRARYNAME}>
19   )