How to force Scons output (exe, obj, lib & dll) to specific build directory?

后端 未结 4 1267
滥情空心
滥情空心 2020-12-18 23:07

I\'ve been trying to get scons to output exe, obj, lib and dll files to a specific build directory.

My file structure looks like this:

/projectdir
          


        
4条回答
  •  独厮守ぢ
    2020-12-18 23:41

    The VariantDir (also described in the user guide) tells scons to put generated files in a separate directory. In older versions of scons this function was named BuildDir.

    You may also want to read up on avoiding duplicating the source directory (described both in the user guide and on the wiki).

提交回复
热议问题