Changeset 266 in dev for trunk/abdev/BasicCompiler_Common/BasicCompiler.cpp
- Timestamp:
- Aug 7, 2007, 4:14:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/BasicCompiler.cpp
r232 r266 4 4 5 5 #include <Program.h> 6 #include <Compiler.h> 6 7 7 8 #include "BasicCompiler.h" … … 306 307 } 307 308 void MakeMessageText(char *buffer,char *msg,int flag){ 308 extern BOOL bDll;309 309 char temporary[MAX_PATH]; 310 310 if(bClipCompileView){ … … 321 321 //日本語 322 322 if(flag==0){ 323 if(bDll) sprintf(buffer,"DLLファイル \"%s\" [ %s ]",temporary,msg); 323 if(compiler.IsDll()) 324 { 325 sprintf(buffer,"DLLファイル \"%s\" [ %s ]",temporary,msg); 326 } 324 327 else sprintf(buffer,"実行ファイル \"%s\" [ %s ]",temporary,msg); 325 328 } … … 329 332 //英語 330 333 if(flag==0){ 331 if( bDll) sprintf(buffer,"DLL file \"%s\" [ %s ]",temporary,msg);334 if(compiler.IsDll()) sprintf(buffer,"DLL file \"%s\" [ %s ]",temporary,msg); 332 335 else sprintf(buffer,"Execution file \"%s\" [ %s ]",temporary,msg); 333 336 } … … 563 566 //_Test(); 564 567 565 //MessageBox(0,"starting compiler/debugger","ActiveBasic",MB_OK);568 MessageBox(0,"starting compiler/debugger","ActiveBasic",MB_OK); 566 569 trace( "Start ActiveBasic Compiler!" ); 567 570 … … 608 611 609 612 BOOL bFromEditor=0; 610 bDll=0;611 613 OutputFileName[0]=0; 612 614 if(lpCmdLine[i]&&lpCmdLine[i]!='/'){ … … 711 713 712 714 //DLL生成 713 else if(lstrcmp(temp2,"dll")==0) bDll=1; 715 else if(lstrcmp(temp2,"dll")==0) 716 { 717 compiler.SetTargetModuleType( Compiler::Dll ); 718 } 719 720 // StaticLibrary生成 721 else if( lstrcmp( temp2, "static_library" ) ==0 ) 722 { 723 compiler.SetTargetModuleType( Compiler::StaticLibrary ); 724 } 714 725 715 726 //Unicode … … 752 763 GetFullPath(szIncludeDir,(Jenga::Common::Environment::GetAppDir()+"\\").c_str()); 753 764 754 if( bDll){765 if( compiler.IsDll() ){ 755 766 //DLLファイル名を取得 756 767 _splitpath(OutputFileName,NULL,NULL,szDllName,temporary);
Note:
See TracChangeset
for help on using the changeset viewer.