Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: cmake/CMakeLists.txt

Issue 1325903004: CMAKE + install command (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-09-03 (Thursday) 17:05:13 EDT Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | experimental/c-api-example/c.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmake/CMakeLists.txt
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index df88487730a060fbe8acd84de2305d8ecff54d4a..ea02ddda4d9ddb7bb4ff8e9d5074d1ba4874aabb 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})
« no previous file with comments | « no previous file | experimental/c-api-example/c.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698