|
From: Hongli L. <h....@ch...> - 2002-06-25 18:38:45
|
On Tue, 2002-06-25 at 17:44, Scott A. Smith wrote: > Hello, > > It is terrific that Dev-C++ supports templates for creating > one's own project types (http://www.bloodshed.net/devcpp.html). > Unfortunately I cannot find any documentation > that inticates how to do so. Specifically, I would like to create a > DLL project that does NOT make use of dllwrap/dlltool. I believe > that both Cygwin/GCC and MinGW both support generation DLL's directly > with the compiler, so dllwrap/dlltool are becoming obsolete. For me dllwrap > does not work properly in exporting all of my functions (code without > declspec everywhere) but gcc direclty builds my DLLs properly. Yes, I > could just continually change the Makefile to set linking so that it uses > gcc/c++, but since Dev-C++ supports users making their own templates I'd > prefer that solution. Is this documented anywhere? Does it work in the > latest version? Does anyone know how to make a new template? > I don't think this is possible. The template only contains basic information such as the name, icon, compiler options, linker options, and sample source code. If you want to use a different compiling method, you will have to build your own build environment (possibly using make) or dig into Dev-C++'s source code. As for creating own templates, just open a .template file in Notepad. It's in standard INI format, and should be fairly easy to understand. |