moved scripts into subdirectory

parent 3c64b3da
project('spdlog', ['cpp'],
license : 'MIT',
version : run_command(find_program('extract_version.py')).stdout().strip(),
version : run_command(find_program('scripts/extract_version.py')).stdout().strip(),
default_options : [
'warning_level=3',
'cpp_std=c++11',
......
#!/bin/bash
cd "$(dirname "$0")"
cd ..
clang-tidy example/example.cpp -- -I ./include
......@@ -3,7 +3,7 @@
import os
import re
base_path = os.path.abspath(os.path.dirname(__file__))
base_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
config_h = os.path.join(base_path, 'include', 'spdlog', 'version.h')
data = {'MAJOR': 0, 'MINOR': 0, 'PATCH': 0}
reg = re.compile(r'^\s*#define\s+SPDLOG_VER_([A-Z]+)\s+([0-9]+).*$')
......
#!/bin/bash
cd "$(dirname "$0")"
cd ..
echo -n "Running dos2unix "
find . -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'"
echo
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment