You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

A partial list

  1. Figure out what needs to be in a library project file to get Studio to copy the library to the SCons variant lib directory (same place the library gets installed when built by SCons). Done 3/10
  2. Get SCons to create a usable environment-setter-upper, probably a .bat file that can be run before invoking devenv. Partially done as of 3/13.  _setup.bat fixes up the PATH variable but doesn't yet handle other variables. As of 3/20 also defines INST_DIR. Still need to add definition for ROOTSYS, add to PYTHONPATH and (the tough one) deal with pfiles.
  3. Currently only .cxx files are added to projects. Need .h, possibly also xml, python, etc. Done 3/11 for includes, xml, python and pfiles. These files are already known if there is a suitable call to registerObjects in the package SConscript file.
  4. The .cxx files in the project are specified using an absolute file path. This allows Studio to find the files, but means that the project files are not portable. They must be built where used. Should make a special SCons target for an installation which only regenerates all project and solution files.

    [3/11 update: Probably this will entail enhancements in our SCons machinery to make it easy to identify various targets and a feature in GoGui making it easy to request build of a specific target.]

     Done 3/20
  5. Don't know how to make a solution file referencing all the projects in a package. When I try the obvious thing from within SCons, invoking MSVSSolution( ), the resulting file uses paths to the SCons build area rather than real destination of the file. The ones in the build area are not (and are not intended to be) usable as project files. When I tried adding a second project to a solution file from within Studio it balked. Done 3/20 solution file now uses correct absolute paths to reference project files. Done 3/23 solution file is installed in a reasonable place instead of languishing in SCons build directory.
  6. Add custom tool to project files as needed to invoke swig
  7. Add custom tool to project files as needed to invoke rootcint
  8. Is it possible to encode dependency information of one project on another in a project file? If so, get SCons to add this information to the project files. 3/24 When I use the Studio gui to say that one project is dependent upon another, the information goes in the solution file.  MRvcmt does it by parsing output from cmt show uses. It then recursively adds to the package solution references to all project files of libraries used by components of the package and adds all the dependencies as well. This is going to be difficult to do with SCons because
    • there is no ready-made analog for cmt show uses, though SCons must have the information internally
    • even assuming msvs.py (which writes the project and solution files) has access to the dependency information, that might not be enough for it to be able to find project file paths for libraries in other packages.
  • No labels