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

Side by Side Diff: cmake/CMakeLists.txt

Issue 1414983004: CMake: exclude SkOSLibrary_posix.cpp on Windows too. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Boilerplate. 1 # Boilerplate.
2 cmake_minimum_required (VERSION 3.1) # First version with CMAKE_CXX_STANDARD. 2 cmake_minimum_required (VERSION 3.1) # First version with CMAKE_CXX_STANDARD.
3 project (skimake) 3 project (skimake)
4 set (CMAKE_CXX_STANDARD 11) 4 set (CMAKE_CXX_STANDARD 11)
5 5
6 # Default to Release mode. We're mainly targeting Skia users, not Skia develope rs. 6 # Default to Release mode. We're mainly targeting Skia users, not Skia develope rs.
7 if (NOT CMAKE_BUILD_TYPE) 7 if (NOT CMAKE_BUILD_TYPE)
8 set (CMAKE_BUILD_TYPE Release) 8 set (CMAKE_BUILD_TYPE Release)
9 endif () 9 endif ()
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 # Remove OS-specific source files. 54 # Remove OS-specific source files.
55 if (NOT WIN32) 55 if (NOT WIN32)
56 remove_srcs(../src/*XPS* 56 remove_srcs(../src/*XPS*
57 ../src/*_win*.cpp 57 ../src/*_win*.cpp
58 ../src/ports/SkImageDecoder_WIC.cpp 58 ../src/ports/SkImageDecoder_WIC.cpp
59 ../src/utils/win/*) 59 ../src/utils/win/*)
60 endif() 60 endif()
61 if (NOT UNIX) 61 if (NOT UNIX)
62 remove_srcs(../src/doc/SkDocument_XPS_None.cpp 62 remove_srcs(../src/doc/SkDocument_XPS_None.cpp
63 ../src/ports/*_posix.cpp
63 ../src/ports/SkDebug_stdio.cpp 64 ../src/ports/SkDebug_stdio.cpp
64 ../src/ports/SkOSFile_posix.cpp
65 ../src/ports/SkTLS_pthread.cpp 65 ../src/ports/SkTLS_pthread.cpp
66 ../src/ports/SkTime_Unix.cpp 66 ../src/ports/SkTime_Unix.cpp
67 ../src/utils/SkThreadUtils_pthread.cpp) 67 ../src/utils/SkThreadUtils_pthread.cpp)
68 endif() 68 endif()
69 if (APPLE OR NOT UNIX) 69 if (APPLE OR NOT UNIX)
70 remove_srcs(../src/gpu/gl/glx/* 70 remove_srcs(../src/gpu/gl/glx/*
71 ../src/images/SkImageDecoder_FactoryDefault.cpp 71 ../src/images/SkImageDecoder_FactoryDefault.cpp
72 ../src/ports/SkFontMgr_fontconfig*.cpp 72 ../src/ports/SkFontMgr_fontconfig*.cpp
73 ../src/*FreeType*) 73 ../src/*FreeType*)
74 endif() 74 endif()
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 VISIBILITY_INLINES_HIDDEN true) 250 VISIBILITY_INLINES_HIDDEN true)
251 251
252 # Experimental C API install: 252 # Experimental C API install:
253 file(GLOB c_headers "../include/c/*.h") 253 file(GLOB c_headers "../include/c/*.h")
254 install(FILES ${c_headers} DESTINATION include) 254 install(FILES ${c_headers} DESTINATION include)
255 install(TARGETS skia DESTINATION lib) 255 install(TARGETS skia DESTINATION lib)
256 256
257 # Now build a simple example app that uses Skia via libskia.so. 257 # Now build a simple example app that uses Skia via libskia.so.
258 add_executable(example example.cpp) 258 add_executable(example example.cpp)
259 target_link_libraries(example skia ${OPENGL_LIBRARIES}) 259 target_link_libraries(example skia ${OPENGL_LIBRARIES})
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698