linux - Build with different values in c++ Eclipse CDT -
how can in c++/eclipse cdt ?
#if build = debug #define db_file="db" #elif build = release #define db_file="/home/project/clientxy.db" ....
is there configuration option in cdt can modify between builds (to change above parameters)?
many in advance :d
if go project properties dialog, select c/c++ general - paths , symbols , select symbols tab, can set symbols act if you'd #defined them in code.
as there's selector "configuration" above it, imagine can have >1 configuration different symbols, although haven't tried that. don't use symbols in actual build process, use them visibility of sections under conditional configuration.
i hope helpful, though.
Comments
Post a Comment