modify cef

This commit is contained in:
brige 2024-12-11 21:28:23 +08:00
parent 14aa6ffe31
commit 265200be55
7 changed files with 10 additions and 6 deletions

View File

@ -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})

Binary file not shown.

View File

@ -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 {

View File

@ -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 {

View File

@ -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>

View File

@ -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>

View File

@ -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
)