diff options
author | halcanary <halcanary@google.com> | 2015-09-03 14:23:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-03 14:23:18 -0700 |
commit | 5a9a5b3e7fc5bd79af55f22cb674e8d2d7021d9d (patch) | |
tree | 6b2a7278c51c49e70f533455a67cbc38669982d8 /cmake | |
parent | 943a462fef57832e2683894bb9f2f36ac25d98f7 (diff) |
CMAKE + install command
NOTRY=true
Review URL: https://codereview.chromium.org/1325903004
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index df88487730..ea02ddda4d 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -222,6 +222,11 @@ set_target_properties(skia PROPERTIES CXX_VISIBILITY_PRESET hidden VISIBILITY_INLINES_HIDDEN true) +# Experimental C API install: +file(GLOB cheaders "../include/c/*.h") +install(FILES ${cheaders} DESTINATION include) +install(TARGETS skia DESTINATION lib) + # Now build a simple example app that uses Skia via libskia.so. add_executable(example example.cpp) target_link_libraries(example skia ${OPENGL_LIBRARIES}) |