drogonframework / drogonframework/drogon

drogon_ctl create subdirectory <subdirectory_name>

Open
#784 8 comments 0 reactions 1 assignee Claimed by @rbugajewski View on GitHub
enhancement
Dominant language
C++
Stars
14.3k
Forks
1.4k
Avg merge
1d 13h
Merged PRs (30d)
14

Description

I have an existing mac os x project that I want to add drogon to. I have some mac specific settings in the CMakeLists.txt file, and I would rather not swiss-army-knife the project. By swiss-army-knife, I mean add too many different functions to the same project. This creates ambiguity and risks in editing and maintaining the code. To resolve this problem, there can be a "drogon_ctl create subdirectory " command that creates a subdirectory with a library based CMakeLists.txt file that works with a parent cmake file that uses the add_subdirectory command. As of now, I tried creating a project and moving it into a subdirectory, but there were link errors. If you can help those of us who say "no" to swiss-army-knife coding, I would appreciate it! 😉✌🏻

![swiss army knife](https://user-images.githubusercontent.com/76219190/113478397-98684280-9456-11eb-820f-d1ea9c8a1d10.jpeg)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.