Skip to content

Commit

Permalink
fix: msvc cannot recognize the header file with '-'
Browse files Browse the repository at this point in the history
  • Loading branch information
pplmx committed Aug 17, 2024
1 parent e65c2ae commit baeb2ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions template/cxx/{{cookiecutter.project_slug}}/src/library.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef {{cookiecutter.project_slug}}_LIBRARY_H
#define {{cookiecutter.project_slug}}_LIBRARY_H
#ifndef {{cookiecutter.package_name | upper}}_LIBRARY_H
#define {{cookiecutter.package_name | upper}}_LIBRARY_H

void hello();

#endif //{{cookiecutter.project_slug}}_LIBRARY_H
#endif //{{cookiecutter.package_name | upper}}_LIBRARY_H

0 comments on commit baeb2ea

Please sign in to comment.