[Scons-users] Resource files in MSVSProject (*.rc)

Pierre-Luc Boily pierreluc.boily at gmail.com
Wed Jan 25 09:51:59 EST 2017


It should be something like that :

tgtRes = env.RES('file.rc')
prgTgt = env.Program('my.exe', ['main.cpp'] + tgtRes)

env.MSVSProject(buildTarget = prgTgt)

Then, when compiling within visual studio, this will automatically compile
rc file, because it is a dependency of prgTgt

Pierre-Luc



--
View this message in context: http://scons.1086193.n5.nabble.com/Resource-files-in-MSVSProject-rc-tp40971p40972.html
Sent from the Users mailing list archive at Nabble.com.


More information about the Scons-users mailing list