Unsolved how to create multiple dll in one project
-
Its a waste of time to create one project or pro file for each dll, is there other suggestion works?
-
If using qmake - yes that's the usual (only?) approach: make a subdirs main project and create each library in a separate sub project.
-
@sierdzio what if using cmake? then we can use sperate add_lib function for each cpp file?
-
@konata said in how to create multiple dll in one project:
@sierdzio what if using cmake? then we can use sperate add_lib function for each cpp file?
Yes, then you can cram it all into a single CMakeLists.txt and use different targets to differentiate between the libraries.