karansher / computer-graphics-raster-images

Computer Graphics Assignment about Raster Images
1 stars 0 forks source link

Difference in build setup #67

Open talicopanda opened 2 years ago

talicopanda commented 2 years ago

When I build raster.sln, Visual Studio creates raster.exe and raster.pdb under a new Debug folder. Is there a way to prevent this behavior from happening or can I / should I just change the file path in main.cpp to ../../data/?

abhimadan commented 2 years ago

Please read the assignment readme - this is the expected behaviour. Running directly from Visual Studio or from the command line in the build folder both work.

talicopanda commented 2 years ago

Right, but my question is more if it is a problem to run it from the Debug folder and change the file paths from a marking standpoint. Nothing would be affected since we are only submitting our .cpp files under the srcfolder, correct?

abhimadan commented 2 years ago

Sure, feel free to change main.cpp if you feel that it makes things easier, but make sure everything still works with the original version.