File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS
1212)
1313
1414add_executable (dummy)
15- target_sources (dummy PRIVATE ystdlib/hello.cpp)
15+ target_sources (dummy PRIVATE src/ ystdlib/hello.cpp)
1616target_compile_features (dummy PRIVATE cxx_std_20)
Original file line number Diff line number Diff line change 99 G_CMAKE_CACHE : " {{.G_BUILD_DIR}}/CMakeCache.txt"
1010 G_COMPILE_COMMANDS_DB : " {{.G_BUILD_DIR}}/compile_commands.json"
1111 # Project-specific variables
12- G_YSTDLIB_CPP_SRC_DIR : " {{.ROOT_DIR}}/ystdlib"
12+ G_YSTDLIB_CPP_SRC_DIR : " {{.ROOT_DIR}}/src/ ystdlib"
1313
1414tasks :
1515 clean :
Original file line number Diff line number Diff line change @@ -17,10 +17,9 @@ tasks:
1717 desc : " Runs the C++ linters that identify formatting issues."
1818 sources : &cpp_format_src_files
1919 - " {{.G_LINT_VENV_CHECKSUM_FILE}}"
20- - " {{.ROOT_DIR}}/**/*.cpp"
21- - " {{.ROOT_DIR}}/**/*.h"
22- - " {{.ROOT_DIR}}/**/*.hpp"
23- - " {{.ROOT_DIR}}/**/*.inc"
20+ - " {{.G_YSTDLIB_CPP_SRC_DIR}}/**/*.cpp"
21+ - " {{.G_YSTDLIB_CPP_SRC_DIR}}/**/*.h"
22+ - " {{.G_YSTDLIB_CPP_SRC_DIR}}/**/*.hpp"
2423 - " {{.ROOT_DIR}}/.clang-format"
2524 - " {{.TASKFILE}}"
2625 deps :
@@ -60,10 +59,9 @@ tasks:
6059 - " {{.G_CMAKE_CACHE}}"
6160 - " {{.G_COMPILE_COMMANDS_DB}}"
6261 - " {{.G_LINT_VENV_CHECKSUM_FILE}}"
63- - " {{.ROOT_DIR}}/**/*.cpp"
64- - " {{.ROOT_DIR}}/**/*.h"
65- - " {{.ROOT_DIR}}/**/*.hpp"
66- - " {{.ROOT_DIR}}/**/*.inc"
62+ - " {{.G_YSTDLIB_CPP_SRC_DIR}}/**/*.cpp"
63+ - " {{.G_YSTDLIB_CPP_SRC_DIR}}/**/*.h"
64+ - " {{.G_YSTDLIB_CPP_SRC_DIR}}/**/*.hpp"
6765 - " {{.ROOT_DIR}}/.clang-tidy"
6866 - " {{.TASKFILE}}"
6967 deps :
You can’t perform that action at this time.
0 commit comments