CodeLite Software Architecture Question
Posted: Fri Aug 04, 2017 5:53 pm
In CodeLite, I have a wxWidgets C++ workspace with one project ("Main"), and two Base Classes under wxCrafter. The main program runs fine.
Now I need to create a plain vanilla C DLL containing utilities that the main program will call.
Architecturally, I am not sure what the "best" way to create the DLL would be. Here are two options:
* I could create a new CodeLite workspace, with one plain C project, and create the DLL from there; or
* In the main program's workspace, I could create a new Project. The source and header files would be plain C code. The code would compile and link into a DLL. Right? Is that do-able? Or does a workspace only produce one executable?
Which one is the "best" way? Or are there more options? I'm open to suggestions.
Colleen
Software Versions
CodeLite 10.0.6
MinGW hard to tell, but I downloaded it on July 10, 2017
Windows 10 Pro, 64-bit
wxWidgets 3.0.2
wxCrafter 2.6
Target platform 32-bit
Target build debug
Now I need to create a plain vanilla C DLL containing utilities that the main program will call.
Architecturally, I am not sure what the "best" way to create the DLL would be. Here are two options:
* I could create a new CodeLite workspace, with one plain C project, and create the DLL from there; or
* In the main program's workspace, I could create a new Project. The source and header files would be plain C code. The code would compile and link into a DLL. Right? Is that do-able? Or does a workspace only produce one executable?
Which one is the "best" way? Or are there more options? I'm open to suggestions.
Colleen
Software Versions
CodeLite 10.0.6
MinGW hard to tell, but I downloaded it on July 10, 2017
Windows 10 Pro, 64-bit
wxWidgets 3.0.2
wxCrafter 2.6
Target platform 32-bit
Target build debug