modify cef
This commit is contained in:
parent
14aa6ffe31
commit
265200be55
@ -22,6 +22,8 @@ MACRO(SOURCE_GROUP_BY_DIR SOURCE_FILES)
|
||||
ENDIF(MSVC)
|
||||
ENDMACRO(SOURCE_GROUP_BY_DIR)
|
||||
|
||||
add_definitions(-DUNICODE -D_UNICODE)
|
||||
|
||||
SET(Thirdparty ${CMAKE_CURRENT_SOURCE_DIR}/Thirdparty)
|
||||
SET(ProjectDIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
|
BIN
Thirdparty/libcef/libcef_dll_wrapper/libcef_dll_wrapper.lib
vendored
Normal file
BIN
Thirdparty/libcef/libcef_dll_wrapper/libcef_dll_wrapper.lib
vendored
Normal file
Binary file not shown.
@ -2,7 +2,7 @@
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
|
||||
#include "tests/cefsimple/simple_app.h"
|
||||
#include "CEF/CefApp.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#include "include/views/cef_browser_view.h"
|
||||
#include "include/views/cef_window.h"
|
||||
#include "include/wrapper/cef_helpers.h"
|
||||
#include "tests/cefsimple/simple_handler.h"
|
||||
#include "CEF/simple_handler.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
#ifndef CEF_TESTS_CEFSIMPLE_SIMPLE_APP_H_
|
||||
#define CEF_TESTS_CEFSIMPLE_SIMPLE_APP_H_
|
||||
|
||||
#include "cef_app.h"
|
||||
#include "include/cef_app.h"
|
||||
|
||||
// Implement application-level callbacks for the browser process.
|
||||
class SimpleApp : public CefApp, public CefBrowserProcessHandler {
|
||||
|
@ -2,7 +2,7 @@
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
|
||||
#include "tests/cefsimple/simple_handler.h"
|
||||
#include "CEF/simple_handler.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
@ -2,7 +2,7 @@
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
|
||||
#include "tests/cefsimple/simple_handler.h"
|
||||
#include "CEF/simple_handler.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include <string>
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${Thirdparty}/spdlog/include
|
||||
${Thirdparty}/libipc/include
|
||||
${Thirdparty}/zeromq/include
|
||||
${Thirdparty}/libcef/include
|
||||
${Thirdparty}/libcef
|
||||
)
|
||||
|
||||
link_directories(
|
||||
@ -36,6 +36,7 @@ link_directories(
|
||||
${Thirdparty}/libipc/lib
|
||||
${Thirdparty}/zeromq/debug/lib
|
||||
${Thirdparty}/libcef/lib
|
||||
${Thirdparty}/libcef/libcef_dll_wrapper
|
||||
)
|
||||
|
||||
# IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
@ -77,6 +78,7 @@ target_link_libraries(
|
||||
debug Debug/libcef
|
||||
optimized libcef
|
||||
libzmq-mt-gd-4_3_5
|
||||
libcef_dll_wrapper
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user