Ignore:
Timestamp:
May 5, 2008, 1:23:46 AM (16 years ago)
Author:
dai_9181
Message:

CDefine::Initメソッドで使用するCompilerクラス依存のフラグを外部から引き渡すようにした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/MakeExe.cpp

    r545 r554  
    44
    55#include "common.h"
     6#include <ver.h>
    67
    78void StepCompileProgress(void){
     
    6566    compiler.GetObjectModule().SetCurrentSourceIndex( (int)compiler.GetObjectModule().GetSources().size() );
    6667    compiler.GetObjectModule().GetSources().push_back( BasicSource() );
    67     if( !compiler.GetObjectModule().GetCurrentSource().ReadFile( program.GetSourceFilePath() ) ){
     68    bool result = compiler.GetObjectModule().GetCurrentSource().ReadFile(
     69        program.GetSourceFilePath(),
     70        compiler.IsDebug(),
     71        compiler.IsDll(),
     72        compiler.IsUnicode(),
     73        MAJOR_VER
     74    );
     75    if( !result ){
    6876        compiler.errorMessenger.Output(201,program.GetSourceFilePath(),-1);
    6977        goto EndCompile;
Note: See TracChangeset for help on using the changeset viewer.