From: andrew7 <bd...@us...> - 2007-01-16 14:27:25
|
Update of /cvsroot/smartwin/SmartWin/doxygenIn/html In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv25968/doxygenIn/html Modified Files: devcpp.html Log Message: Improve instructions for building the library in Dev-C++ Index: devcpp.html =================================================================== RCS file: /cvsroot/smartwin/SmartWin/doxygenIn/html/devcpp.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- devcpp.html 12 Oct 2005 19:03:33 -0000 1.5 +++ devcpp.html 16 Jan 2007 14:27:11 -0000 1.6 @@ -16,33 +16,34 @@ basic installation. Compile and run from the Execute menu. <br> </P> - <P>Open the libsmartwin.dev project, and Execute | rebuild all.</P> - <P>A libsmartwin.a file will appear in the /lib subdirectory.</P> - <P> </P> - <H3>Build a SmartWin++ sample from the tests directory. - </H3> - <P>Open any .dev file (I tried Notepad) from the SmartWin++ unit tests projects.</P> - <P>Execute | compile and run . You should get the SmartWin++ Notepad running !</P> - <P> </P> - <H3>Create a new SmartWin++ program. - </H3> + <H3> Build the SmartWin library. </H3> + <P> Use Dev-C++'s "File | Open Project" menu option to open the SmartWin.dev project, + and then "Execute | rebuild all".<b></b> + A libsmartwin.a file will appear in the /lib subdirectory. + </P> + <P></P> + <H3>Build a SmartWin++ sample from the tests directory. </H3> + <P>Open any .dev file (I tried Notepad) from the SmartWin++ unit tests projects. <br></br> + Execute | compile and run . You should get the SmartWin++ Notepad running !</P> + <P></P> + <H3>Create a new SmartWin++ program.</H3> <P>File | New | Project, select a Windows application, C++ Project, and name - it. Choose a directory. Discard the boilerplate windows main.cpp, and + it. Choose a directory. Discard the boilerplate windows main.cpp, and write your own SmartWin++ program.</P> - <P> Right click on the project, Project Options, and choose Directories | - Include Directories. Use the filesystem icon to insert the include + <P> Right click on the project, Project Options, and choose Directories | + Include Directories. Use the filesystem icon to insert the include directory that has SmartWin.h, then click on Add.</P> - <P>From Project Options, Parameters, use Add library or Object and select the - libsmartwin.a. Enter "-lcomctl32" in the linker box on the next + <P>From Project Options, Parameters, use Add library or Object and select the + libsmartwin.a. Enter "-lcomctl32" in the linker box on the next line.</P> <P>Execute | Compile & Run should now build your program and run it.</P> <P>(Or it may be easier to simply copy an existing .dev file, rename it, and textedit the differences for your new project.)</P> - <P> </P> - <P> </P> + <P></P> + <P></P> <H3>Configure DEV-CPP for SmartWin++ </H3> - <P>(No longer needed with the .dev files included with SmartWin++ 1.0 )</P> + <P>(No longer needed with the .dev files included with SmartWin++ 1.0 )</P> <P>Tools | Compiler Options | Directories | C++ includes , and browse for the SmartWin++ directory.</P> <P>(The little File icon to the right of the blank line.) Then click Add, and then |