Ignore:
Timestamp:
Mar 23, 2008, 10:38:38 AM (16 years ago)
Author:
dai_9181
Message:

・Compiler::IsDebugメソッドを導入した(bDebugCompileグローバル変数は廃止)。
・bStrictグローバル変数は意味を成さないので廃止した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/Compiler.h

    r407 r459  
    1414class Compiler
    1515{
     16public:
     17    // ターゲット
     18    enum TargetModuleType
     19    {
     20        Exe,
     21        Dll,
     22        StaticLibrary,
     23    };
     24
     25private:
    1626    // モジュール名
    1727    std::string moduleName;
     28
     29    // モジュール タイプ
     30    TargetModuleType targetModuleType;
     31
     32    // デバッグ ビルドかどうか
     33    bool isDebug;
    1834
    1935    // 名前空間サポート
     
    3046        , pNowObjectModule( pObjectModule )
    3147        , targetModuleType( Exe )
     48        , isDebug( false )
    3249        , isCore( false )
    3350    {
     
    87104    }
    88105
    89 
    90     // ターゲット
    91     enum TargetModuleType
    92     {
    93         Exe,
    94         Dll,
    95         StaticLibrary,
    96     };
    97 
    98     TargetModuleType targetModuleType;
    99 
    100106    bool IsExe() const
    101107    {
     
    127133    }
    128134
     135    void SetDebugMark( bool isDebug )
     136    {
     137        this->isDebug = isDebug;
     138    }
     139    bool IsDebug() const
     140    {
     141        return isDebug;
     142    }
     143
    129144
    130145    // コアモジュールかどうか
Note: See TracChangeset for help on using the changeset viewer.