I've download cef-master project codes from github and bitbucket.
and cmake 3.9 win binary , wanna compile sample project of cef client.
refer to some introduction article, we can use cmake-gui to generate vs2017 .sln project file.
But. there is no CMakeLists.txt in the source code directory,
there are some CMakeLists.txt.in files in different direcotries, .in file seem for generate CMakeLists.txt file.
But how to generate CMakeLists.txt from CMakeLists.txt.in ?
.in file:
https://bitbucket.org/chromiumembedded/ ... ?at=master
I've tried rename from .txt.in to .txt but CMake runs error :
CMake Error at libcef_dll/CMakeLists.txt:20:
Parse error. Expected a command name, got unquoted argument with text
"{{".
the code in CMakeLists.txt.in is:
set(CEF_TARGET libcef_dll_wrapper)
{{ /////////Line20
'prefix': 'libcef',
'library': '${CEF_TARGET}',
'append_macro': 'LIBCEF_APPEND_PLATFORM_SOURCES',
'includes': [
'includes_common',
'autogen_cpp_includes',
'includes_capi',
'autogen_capi_includes',
'includes_wrapper',
'includes_win:WINDOWS',
'includes_mac:MACOSX',
'includes_linux:LINUX',
'libcef_dll_wrapper_sources_base',
'libcef_dll_wrapper_sources_common',
'autogen_client_side',
],
}}
is the .in file cmake list file ? how to generate a real CMakeLists.txt ?
how to generate a visual studio .sln file for compiling cef ?