]> git.sesse.net Git - casparcg/blobdiff - dependencies64/cef/windows/CMakeLists.txt
Upgrade CEF to 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81.
[casparcg] / dependencies64 / cef / windows / CMakeLists.txt
diff --git a/dependencies64/cef/windows/CMakeLists.txt b/dependencies64/cef/windows/CMakeLists.txt
new file mode 100644 (file)
index 0000000..be6f27e
--- /dev/null
@@ -0,0 +1,208 @@
+# Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights\r
+# reserved. Use of this source code is governed by a BSD-style license that\r
+# can be found in the LICENSE file.\r
+\r
+# OVERVIEW\r
+#\r
+# CMake is a cross-platform open-source build system that can generate project\r
+# files in many different formats. It can be downloaded from\r
+# http://www.cmake.org or installed via a platform package manager.\r
+#\r
+# CMake-generated project formats that have been tested with this CEF binary\r
+# distribution include:\r
+#\r
+# Linux:      Ninja, Unix Makefiles\r
+# Mac OS X:   Ninja, Xcode 5+\r
+# Windows:    Ninja, Visual Studio 2010+\r
+#\r
+# Ninja is a cross-platform open-source tool for running fast builds using\r
+# pre-installed platform toolchains (GNU, clang, Xcode or MSVC). It can be\r
+# downloaded from http://martine.github.io/ninja/ or installed via a platform\r
+# package manager.\r
+#\r
+# CMAKE STRUCTURE\r
+#\r
+# This CEF binary distribution includes the following CMake files:\r
+#\r
+# CMakeLists.txt              Bootstrap that sets up the CMake environment.\r
+# cmake/*.cmake               CEF configuration files shared by all targets.\r
+# libcef_dll/CMakeLists.txt   Defines the libcef_dll_wrapper target.\r
+# tests/*/CMakeLists.txt      Defines the test application target.\r
+#\r
+# See the "TODO:" comments below for guidance on how to integrate this CEF\r
+# binary distribution into a new or existing CMake project.\r
+#\r
+# BUILD REQUIREMENTS\r
+#\r
+# The below requirements must be met to build this CEF binary distribution.\r
+#\r
+# - CMake version 2.8.12.1 or newer.\r
+#\r
+# - Linux requirements:\r
+#   Currently supported distributions include Debian Wheezy, Ubuntu Precise, and\r
+#   related. Ubuntu 14.04 64-bit is recommended. Newer versions will likely also\r
+#   work but may not have been tested.\r
+#   Required packages include:\r
+#     build-essential\r
+#     libgtk2.0-dev     (required by the cefclient target only)\r
+#     libgtkglext1-dev  (required by the cefclient target only)\r
+#\r
+# - Mac OS X requirements:\r
+#   Xcode 5 or newer building on Mac OS X 10.9 (Mavericks) or newer. Xcode 7.2\r
+#   and OS X 10.11 are recommended. The Xcode command-line tools must also be\r
+#   installed. Only 64-bit builds are supported on OS X.\r
+#\r
+# - Windows requirements:\r
+#   Visual Studio 2010 or newer building on Windows 7 or newer. Visual Studio\r
+#   2015 Update 2 and Windows 10 64-bit are recommended.\r
+#\r
+# BUILD EXAMPLES\r
+#\r
+# The below commands will generate project files and create a Debug build of all\r
+# CEF targets using CMake and the platform toolchain.\r
+#\r
+# Start by creating and entering the CMake build output directory:\r
+# > cd path/to/cef_binary_*\r
+# > mkdir build && cd build\r
+#\r
+# To perform a Linux build using a 32-bit CEF binary distribution on a 32-bit\r
+# Linux platform or a 64-bit CEF binary distribution on a 64-bit Linux platform:\r
+#   Using Unix Makefiles:\r
+#     > cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ..\r
+#     > make -j4 cefclient cefsimple\r
+#\r
+#   Using Ninja:\r
+#     > cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Debug ..\r
+#     > ninja cefclient cefsimple\r
+#\r
+# To perform a Mac OS X build using a 64-bit CEF binary distribution:\r
+#   Using the Xcode IDE:\r
+#     > cmake -G "Xcode" -DPROJECT_ARCH="x86_64" ..\r
+#     Open build\cef.xcodeproj in Xcode and select Product > Build.\r
+#\r
+#   Using Ninja:\r
+#     > cmake -G "Ninja" -DPROJECT_ARCH="x86_64" -DCMAKE_BUILD_TYPE=Debug ..\r
+#     > ninja cefclient cefsimple\r
+#\r
+# To perform a Windows build using a 32-bit CEF binary distribution:\r
+#   Using the Visual Studio 2015 IDE:\r
+#     > cmake -G "Visual Studio 14" ..\r
+#     Open build\cef.sln in Visual Studio and select Build > Build Solution.\r
+#\r
+#   Using Ninja with Visual Studio 2015 command-line tools:\r
+#     (this path may be different depending on your Visual Studio installation)\r
+#     > "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\vcvars32.bat"\r
+#     > cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Debug ..\r
+#     > ninja cefclient cefsimple\r
+#\r
+# To perform a Windows build using a 64-bit CEF binary distribution:\r
+#   Using the Visual Studio 2015 IDE:\r
+#     > cmake -G "Visual Studio 14 Win64" ..\r
+#     Open build\cef.sln in Visual Studio and select Build > Build Solution.\r
+#\r
+#   Using Ninja with Visual Studio 2015 command-line tools:\r
+#     (this path may be different depending on your Visual Studio installation)\r
+#     > "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"\r
+#     > cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Debug ..\r
+#     > ninja cefclient cefsimple\r
+\r
+#\r
+# Global setup.\r
+#\r
+\r
+cmake_minimum_required(VERSION 2.8.12.1)\r
+\r
+# Only generate Debug and Release configuration types.\r
+set(CMAKE_CONFIGURATION_TYPES Debug Release)\r
+\r
+# Project name.\r
+# TODO: Change this line to match your project name when you copy this file.\r
+project(cef)\r
+\r
+# Use folders in the resulting project files.\r
+set_property(GLOBAL PROPERTY OS_FOLDERS ON)\r
+\r
+\r
+#\r
+# CEF_ROOT setup.\r
+# This variable must be set to locate the binary distribution.\r
+# TODO: Choose one of the below examples and comment out the rest.\r
+#\r
+\r
+# Example 1: The current directory contains both the complete binary\r
+#            distribution and your project.\r
+# A. Comment in these lines:\r
+#\r
+set(CEF_ROOT "${CMAKE_CURRENT_SOURCE_DIR}")\r
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CEF_ROOT}/cmake")\r
+\r
+# Example 2: The binary distribution is in a separate directory from your\r
+#            project. Locate the binary distribution using the CEF_ROOT CMake\r
+#            variable.\r
+# A. Create a directory structure for your project like the following:\r
+#    myproject/\r
+#      CMakeLists.txt    <= top-level CMake configuration\r
+#      mytarget/\r
+#        CMakeLists.txt  <= CMake configuration for `mytarget`\r
+#        ... other `mytarget` source files\r
+# B. Copy this file to "myproject/CMakeLists.txt" as the top-level CMake\r
+#    configuration.\r
+# C. Create the target-specific "myproject/mytarget/CMakeLists.txt" file for\r
+#    your application. See the included cefclient and cefsimple CMakeLists.txt\r
+#    files as an example.\r
+# D. Comment in these lines:\r
+#\r
+# set(CEF_ROOT "c:/path/to/cef_binary_3.2704.xxxx.gyyyyyyy_windows32")\r
+# set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CEF_ROOT}/cmake")\r
+\r
+# Example 3: The binary distribution is in a separate directory from your\r
+#            project. Locate the binary distribution using the CEF_ROOT\r
+#            environment variable.\r
+# A. Create a directory structure for your project like the following:\r
+#    myproject/\r
+#      CMakeLists.txt    <= top-level CMake configuration\r
+#      cmake/\r
+#        FindCEF.cmake   <= CEF CMake configuration entry point\r
+#      mytarget/\r
+#        CMakeLists.txt  <= CMake configuration for `mytarget`\r
+#        ... other `mytarget` source files\r
+# B. Copy this file to "myproject/CMakeLists.txt" as the top-level CMake\r
+#    configuration.\r
+# C. Copy the cmake/FindCEF.cmake file to "myproject/cmake/FindCEF.cmake".\r
+# D. Create the target-specific "myproject/mytarget/CMakeLists.txt" file for\r
+#    your application. See the included cefclient and cefsimple CMakeLists.txt\r
+#    files as an example.\r
+# E. Set the CEF_ROOT environment variable before executing CMake. For example:\r
+#    > set CEF_ROOT=c:\path\to\cef_binary_3.2704.xxxx.gyyyyyyy_windows32\r
+# F. Comment in these lines:\r
+#\r
+# set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")\r
+\r
+\r
+#\r
+# Load the CEF configuration.\r
+#\r
+\r
+# Execute FindCEF.cmake which must exist in CMAKE_MODULE_PATH.\r
+find_package(CEF REQUIRED)\r
+\r
+\r
+#\r
+# Define CEF-based targets.\r
+#\r
+\r
+# Include the libcef_dll_wrapper target.\r
+# Comes from the libcef_dll/CMakeLists.txt file in the binary distribution\r
+# directory.\r
+add_subdirectory(${CEF_LIBCEF_DLL_WRAPPER_PATH} libcef_dll_wrapper)\r
+\r
+# Include application targets.\r
+# Comes from the <target>/CMakeLists.txt file in the current directory.\r
+# TODO: Change these lines to match your project target when you copy this file.\r
+add_subdirectory(tests/cefclient)\r
+add_subdirectory(tests/cefsimple)\r
+add_subdirectory(tests/gtest)\r
+add_subdirectory(tests/ceftests)\r
+\r
+# Display configuration settings.\r
+PRINT_CEF_CONFIG()\r