Starting a new Sofa project
The simplest way is to start from the project given in src/Projects/myProject.zip
Contents of the project:
- File myProject.pro describes the project. Trolltech's qmake utility is used to generate a Linux Makefile or a Visual C++ solution.
- Compiling and linking generates the executable: ../../../bin/myProject (in the same directory as the dll it uses)
Change the name of the project:
- Rename the parent repertory myProject to xxx
- Rename the files myProject.pro and myProject.kdevelop to xxx.pro and xxx.kdevelop
- Edit projet.bat, xxx.pro and xxx.kdevelop and replace all the "myProject" string to "xxx".
Compiling:
See HowToCompileAProject