feat(fourdst-cli): added more robust cli
This commit is contained in:
1081
fourdst/cli/main.py
1081
fourdst/cli/main.py
File diff suppressed because it is too large
Load Diff
@@ -2,14 +2,18 @@ project('{project_name}', 'cpp',
|
||||
version : '{version}',
|
||||
default_options : ['warning_level=3', 'cpp_std=c++23'])
|
||||
|
||||
# Find the fourdst-plugin dependency
|
||||
plugin_dep = dependency('fourdst_plugin', required : true)
|
||||
# Find the fourdst-plugin dependency, falling back to the subproject if not found.
|
||||
plugin_dep = dependency('fourdst_plugin',
|
||||
required: true,
|
||||
fallback: ['libplugin', 'plugin_dep'],
|
||||
default_options: ['tests=false']
|
||||
)
|
||||
|
||||
# Define the shared library for the plugin
|
||||
shared_library('{project_name}',
|
||||
'src/{project_name}.cpp',
|
||||
dependencies : [plugin_dep],
|
||||
# Add the path to the user-provided interface header
|
||||
include_directories: include_directories('{interface_include_dir}'),
|
||||
# Add the path to the local copy of the interface header
|
||||
include_directories: include_directories('src/include'),
|
||||
install : true,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user