-
Reproduction StepsUse cookiecutter # When selecting build tool, choose xmake
cookiecutter -c feat_cxx_third_party gh:x-pt/template --directory template/cxx
You've downloaded C:\Users\pplmx\.cookiecutters\template before. Is it okay to delete and re-download it? [y/n] (y):
[1/10] Enter your project name (My Awesome Project):
[2/10] Generated project identifier (slug) (my-awesome-project):
[3/10] Generated package/module name (my_awesome_project):
[4/10] Brief project description (A nice cxx project):
[5/10] Initial project version (0.0.1):
[6/10] Author's email address ([email protected]):
[7/10] Author's full name (Firstname Lastname):
[8/10] GitHub username or organization (your-org-or-username):
[9/10] Select cxx_build_tool
1 - cmake
2 - xmake
Choose from [1/2] (1): 2
[10/10] cxx_standard_version (20):
Initialized empty Git repository in C:/Users/pplmx/JetBrains/CLionProjects/my-awesome-project/.git/
# After project generation
cd my-awesome-project
make build
make run
make test
Expected BehaviorAll of the following commands should work successfully:
Additional ContextThe CMake version project you can try (where you select CMake in the build tool options) will execute the same command and it works fine. |
Beta Was this translation helpful? Give feedback.
Answered by
waruqi
Dec 16, 2024
Replies: 2 comments 6 replies
-
It seems like cookiecutter dosen't support xmake. |
Beta Was this translation helpful? Give feedback.
6 replies
-
Hi @waruqi, Thank you so much — it works perfectly! I really appreciate your help. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not sure how you plan to organize your project structure, but for the compilation error I currently encounter, you can fix it with the following patch.
It works for me.