mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[cpp] Rename c to cpp for ecmascript files
This commit is contained in:
parent
2ffdab5bba
commit
df7a023756
@ -16,7 +16,7 @@ AC_CONFIG_AUX_DIR(config)
|
|||||||
AC_CONFIG_MACRO_DIR([config/m4])
|
AC_CONFIG_MACRO_DIR([config/m4])
|
||||||
|
|
||||||
PACKAGE=elinks
|
PACKAGE=elinks
|
||||||
VERSION=0.15.1
|
VERSION=0.16.GIT
|
||||||
AC_SUBST(PACKAGE)
|
AC_SUBST(PACKAGE)
|
||||||
AC_SUBST(VERSION)
|
AC_SUBST(VERSION)
|
||||||
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Package version])
|
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Package version])
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
project('elinks', ['c','cpp'], version:'0.15.1', license:'GPLv2')
|
project('elinks', ['c','cpp'], version:'0.16.GIT', license:'GPLv2')
|
||||||
srcs=[]
|
srcs=[]
|
||||||
|
|
||||||
srcdir = meson.source_root()
|
srcdir = meson.source_root()
|
||||||
@ -143,7 +143,7 @@ conf_data.set('HAVE_SYS_TIME_H', 1)
|
|||||||
compiler = meson.get_compiler('c')
|
compiler = meson.get_compiler('c')
|
||||||
|
|
||||||
if conf_data.get('CONFIG_ECMASCRIPT')
|
if conf_data.get('CONFIG_ECMASCRIPT')
|
||||||
extracflags = ['-xc++', '-fpermissive', '-Wno-sign-compare', '-std=gnu++17', '-fno-lto']
|
extracflags = ['-xc++', '-fpermissive', '-Wno-sign-compare', '-std=gnu++17']
|
||||||
else
|
else
|
||||||
extracflags = ['-Wc++-compat']
|
extracflags = ['-Wc++-compat']
|
||||||
endif
|
endif
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
/* Unsafe macros */
|
/* Unsafe macros */
|
||||||
#include "document/html/internal.h"
|
#include "document/html/internal.h"
|
||||||
|
|
||||||
#ifdef CONFIG_XML
|
#if 0 //def CONFIG_XML
|
||||||
#include <libxml++/libxml++.h>
|
#include <libxml++/libxml++.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#subdir('html')
|
#subdir('html')
|
||||||
srcs += files('renderer.c', 'renderer2.c')
|
srcs += files('renderer.cpp', 'renderer2.cpp')
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
||||||
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
||||||
subdir('spidermonkey')
|
subdir('spidermonkey')
|
||||||
srcs += files('css2xpath.c', 'ecmascript.c', 'localstorage-db.c', 'spidermonkey.c')
|
srcs += files('css2xpath.cpp', 'ecmascript.cpp', 'localstorage-db.cpp', 'spidermonkey.cpp')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
if conf_data.get('CONFIG_ECMASCRIPT_SMJS')
|
||||||
@ -13,10 +13,10 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if CONFIG_ANY_SPIDERMONKEY
|
if CONFIG_ANY_SPIDERMONKEY
|
||||||
srcs += files('spidermonkey-shared.c', 'empty.cpp')
|
srcs += files('spidermonkey-shared.cpp')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if conf_data.get('CONFIG_QUICKJS')
|
if conf_data.get('CONFIG_QUICKJS')
|
||||||
subdir('quickjs')
|
subdir('quickjs')
|
||||||
srcs += files('css2xpath.c', 'ecmascript.c', 'localstorage-db.c', 'quickjs.c', 'empty.cpp')
|
srcs += files('css2xpath.cpp', 'ecmascript.cpp', 'localstorage-db.cpp', 'quickjs.cpp')
|
||||||
endif
|
endif
|
||||||
|
@ -1 +1,2 @@
|
|||||||
srcs += files('attr.c', 'attributes.c', 'collection.c', 'console.c', 'document.c', 'element.c', 'form.c', 'forms.c', 'heartbeat.c', 'history.c', 'implementation.c', 'input.c', 'localstorage.c', 'location.c', 'navigator.c', 'nodelist.c', 'screen.c', 'unibar.c', 'window.c')
|
srcs += files('attr.cpp', 'attributes.cpp', 'collection.cpp', 'console.cpp', 'document.cpp', 'element.cpp', 'form.cpp', 'forms.cpp', 'heartbeat.cpp', 'history.cpp', 'implementation.cpp',
|
||||||
|
'input.cpp', 'localstorage.cpp', 'location.cpp', 'navigator.cpp', 'nodelist.cpp', 'screen.cpp', 'unibar.cpp', 'window.cpp')
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
||||||
|
|
||||||
srcs += files('attr.c', 'attributes.c', 'collection.c', 'console.c', 'document.c', 'element.c', 'form.c', 'forms.c', 'heartbeat.c', 'history.c', 'implementation.c', 'input.c', 'location.c', 'localstorage.c', 'navigator.c', 'nodelist.c', 'screen.c', 'unibar.c', 'window.c')
|
srcs += files('attr.cpp', 'attributes.cpp', 'collection.cpp', 'console.cpp', 'document.cpp', 'element.cpp', 'form.cpp', 'forms.cpp', 'heartbeat.cpp', 'history.cpp', 'implementation.cpp', 'input.cpp',
|
||||||
|
'location.cpp', 'localstorage.cpp', 'navigator.cpp', 'nodelist.cpp', 'screen.cpp', 'unibar.cpp', 'window.cpp')
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
#INCLUDES += $(SPIDERMONKEY_CFLAGS)
|
||||||
|
|
||||||
srcs += files('smjs.c', 'core.c', 'global_object.c', 'hooks.c', 'elinks_object.c', 'cache_object.c',
|
srcs += files('smjs.cpp', 'core.cpp', 'global_object.cpp', 'hooks.cpp', 'elinks_object.cpp', 'cache_object.cpp',
|
||||||
'view_state_object.c', 'action_object.c', 'bookmarks.c', 'globhist.c', 'keybinding.c', 'load_uri.c',
|
'view_state_object.cpp', 'action_object.cpp', 'bookmarks.cpp', 'globhist.cpp', 'keybinding.cpp', 'load_uri.cpp',
|
||||||
'session_object.c', 'terminal_object.c')
|
'session_object.cpp', 'terminal_object.cpp')
|
||||||
|
Loading…
Reference in New Issue
Block a user