Changeset 2212 in Sophya for trunk/SophyaLib/SysTools/cxxcmplnk.h
- Timestamp:
- Oct 15, 2002, 5:48:53 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SysTools/cxxcmplnk.h
r1900 r2212 23 23 virtual int BuildSO(string const & oname, string & soname); 24 24 25 //! Adds compilation options \c opt . Appended to the present option string. 25 26 inline void AddCompileOptions(string const & opt) 26 27 { compOptions += " " + opt; } 28 //! Sets the compilation options. 27 29 inline void SetCompileOptions(string const & opt = "") 28 30 { compOptions = opt; } 31 //! Returns the currently defined compilation options. 29 32 inline string GetCompileOptions() 30 33 { return compOptions; } 31 34 35 //! Adds link options \c opt . Appended to the present option string. 32 36 inline void AddLinkOptions(string const & opt) 33 37 { linkOptions += " " + opt; } 38 //! Sets the link options. 34 39 inline void SetLinkOptions(string const & opt = "") 35 40 { linkOptions = opt; } 36 41 inline string GetLinkOptions() 42 //! Returns the currently defined link options. 37 43 { return linkOptions; } 38 44 45 //! Sets the temporary directory path. 39 46 inline void SetTmpDir(string const & tmpdir) 40 47 { tmpDir = tmpdir; } 48 //! returns the currently defined temporary directory path. 41 49 inline string GetTmpDir() 42 50 { return tmpDir; } 43 51 52 //! Activate (or deactivate) the verbose mode. 44 53 inline void SetVerbose(bool fg=false) 45 54 { verbose = fg; }
Note:
See TracChangeset
for help on using the changeset viewer.