Ignore:
Timestamp:
May 16, 2008, 9:40:59 PM (16 years ago)
Author:
dai_9181
Message:

静的リンクライブラリプロジェクトの作成(IDE側)に対応。

File:
1 edited

Legend:

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

    r537 r608  
    33class Compiler
    44{
    5 public:
    6     // ターゲット
    7     enum TargetModuleType
    8     {
    9         Exe,
    10         Dll,
    11         StaticLibrary,
    12     };
    13 
    14 private:
    155    // ビルド成功のフラグ
    166    bool isBuildSuccessful;
     
    2010
    2111    // モジュール タイプ
    22     TargetModuleType targetModuleType;
     12    ActiveBasic::Common::TargetModuleType::EnumType targetModuleType;
    2313
    2414    // デバッグ ビルドかどうか
     
    4434        : isBuildSuccessful( false )
    4535        , pObjectModule( new ObjectModule )
    46         , targetModuleType( Exe )
     36        , targetModuleType( ActiveBasic::Common::TargetModuleType::Exe )
    4737        , isDebug( false )
    4838        , isUnicode( false )
     
    124114    bool IsExe() const
    125115    {
    126         if( targetModuleType == Exe )
     116        if( targetModuleType == ActiveBasic::Common::TargetModuleType::Exe )
    127117        {
    128118            return true;
     
    132122    bool IsDll() const
    133123    {
    134         if( targetModuleType == Dll )
     124        if( targetModuleType == ActiveBasic::Common::TargetModuleType::Dll )
    135125        {
    136126            return true;
     
    138128        return false;
    139129    }
    140     bool IsStaticLibrary() const
    141     {
    142         if( targetModuleType == StaticLibrary )
     130
     131    // スタティック リンク ライブラリをビルドする?
     132    bool IsSll() const
     133    {
     134        if( targetModuleType == ActiveBasic::Common::TargetModuleType::Sll )
    143135        {
    144136            return true;
     
    146138        return false;
    147139    }
    148     void SetTargetModuleType( TargetModuleType targetModuleType )
     140
     141    void SetTargetModuleType( ActiveBasic::Common::TargetModuleType::EnumType targetModuleType )
    149142    {
    150143        this->targetModuleType = targetModuleType;
Note: See TracChangeset for help on using the changeset viewer.