более современная генерация cmake
This commit is contained in:
1
main.py
1
main.py
@@ -42,7 +42,6 @@ def create_all(libname, libpath, examples):
|
||||
write_file(f"{libpath}/CMakeLists.txt", render_template("CMakeLists.txt", context))
|
||||
write_file(f"{libpath}/include/{context['include_header']}", render_template("include/lib/lib.h", context))
|
||||
write_file(f"{libpath}/src/{context['namespace']}.cpp", render_template("src/lib.cpp", context))
|
||||
write_file(f"{libpath}/tests/CMakeLists.txt", render_template("tests/CMakeLists.txt", context))
|
||||
write_file(f"{libpath}/tests/main.cpp", render_template("tests/main.cpp", context))
|
||||
write_file(f"{libpath}/tests/test-{context['namespace']}.cpp", render_template("tests/test-lib.cpp", context))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user