Is it possible to define directory path in visual studio -
i'm using visual studio create game using sdl library. i've created own static library game relies on. (it's basic engine sets sdl, maps, ect.). when include 1 of files custom library, have type this:
#include <sdl_game_engine/files/whatever.h>
obviously can bit tedious in typing that. i'm wondering if there's way in properties allow me type
#include <engine/whatever.h>
(basically take whole path file , make shortcut it).
i know it's long shot awesome if there way. don't have include directory include files directory way know file i'm using in sdl_game_engine library. possible (with luck there's no way lol) suggestions awesome. guys!
ps. using visual studio 2015
not sure sdl library but..perhaps can place things in app.config , assign variables path; string filepath = configurationmanager.appsettings["yourfilepathkeyinappconfig"]; use in code: somegamevarfile = filepath; //psuedo code
Comments
Post a Comment