I’ve attached a series of screen shots to show you how I have set up the directories which should be OK?
I’m following the ‘Getting Started Tutorial’ and going fine up until creating the my_sandbox. However, I’m stuck on how to re-run the cmake program to update the relevant
files?
Whenever you add a new application, a demo or a test or whenever you make changes toCMakeLists.txtyou need to call CMake again. Since CMake remembers the settings you chose the first time you called CMake in a file namedCMakeCache.txt, all you have to do is to
switch to yourdebugorreleasebuild directory and call "cmake ." in there.
~ # cd $HOME/Development/seqan-trunk-build/debug
debug # cmake .
Do not try to call "cmake ." from within theseqan-trunkdirectorybut only from your build directory.
I’ve update the first_app code to the ‘Hello World’ program but again not sure what to do with cmake to get the .sln file so I can run the program:
Now, we go back into the build directory and call CMake again to make it detect the added app.
C:\Users\seqan_dev\Development\seqan-trunk> cd ..\seqan-trunk-build\vs9
Now, you can open the project fileC:\Users\seqan_dev\Development\seqan-trunk-build\vs9\sandbox\my_sandbox\seqan_sandbox_my_sandbox.slnfor your sandbox using Visual Studio. Right-clickfirst_appin theSolution Explorerand clickSet as StartUp Project. Now, start the program without debugging usingDebug▸Start Without Debugging.
Visual Studio will now compile your program and execute it. A command line window will pop up and should display the following.