Thank you two, I will try to modifiy the cmake file and see if it works.

Serge Lages schrieb:
On 7/16/07, *Marcus Fritzen* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hello everybody,

    I have a problem with visual studio 2005. My Problem is following. I
    want to modify an existing osg project, for example osgViewer, by
    adding
    files (source an header) to it. If I do so and then rebuild the
    solution
    I get the following problem. VS says that the project has been
    modified
    out of the solution. I can choose between reload and ignore. If i
    reload, the added files are gone. If I choose ignore the files
    stay, but
    only until next reload. Then the files are gone. Google can't really
    help me :( I hope someone of you can.


Hi,

It's a CMake problem. When you rebuild your project a pre build event is called to regenerate the .vcproj from the CMake files. So to add a file you have to add it into the CMake related files (CMakeList.txt) and not directly into the .vcproj.

--
Serge Lages
http://www.magrathea-engine.org <http://www.magrathea-engine.org>
------------------------------------------------------------------------

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

--
----------------------------------------------------------------
Marcus Fritzen                  E-mail: [EMAIL PROTECTED]
University Koblenz              Mobil:  +491786867360
Triererstr. 105, 56072 Koblenz, 
HIWI FB4 Herr Jackel
----------------------------------------------------------------

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to