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:

  1. should maintain different sets of source files .exe project & .dll project, considering maintaining project on github.

  2. should delete gui related code .dll project? or fine put bool flag's everywhere gui created/modified?

  3. 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

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -