Replies: 1 comment
-
I suppose you are asking about a project generated by drogon_ctl . If you write f.e. new controller class and put it to I use MSVC, and MSVC solution file is generated from CMakeLists.txt. When I add new source files to folder, I make some change in CMakeListst.txt (add one space and save file), MSVC rebuild solution from CMakeLists.txt and get new files into the solution. If you manually run cmake , you can add new source files to source folders and rerun cmake. |
Beta Was this translation helpful? Give feedback.
-
Ha all!
I am creating my class in two files *.h and *.cpp. How do I add my translation unit to the project correctly? Maybe write in some СMakefile, which lines should be written correctly?
Thanks for the answer!
Beta Was this translation helpful? Give feedback.
All reactions