Translating C++ project from .exe to .dll? -
i have develped gui application in qt though qt creator ide & mingw compiler. plan open source under terms of gnu-lgpl. since had developed source code gui application in mind, having difficulty in modifying project build .dll others can use in applications. here of doubts:
should maintain different sets of source files .exe project & .dll project, considering maintaining project on github.
should delete gui related code .dll project? or fine put bool flag's everywhere gui created/modified?
should delete functions used in .exe project & never called in .dll project? or should let them is?
this first time @ application development open source development. since have developed myself, dont have proper guidance. thank you.
i separate program 2 projects. place gui stuff in 1 project uses dll created other project. way need maintain 1 instance of dll's code. having duplicate code in way bad idea.
(credit credit due: got idea third comment in this question. it's c#, solution applies kind of project.)
Comments
Post a Comment