Changeset 294 in dev for trunk/abdev/BasicCompiler_Common/MakeExe.cpp
- Timestamp:
- Aug 22, 2007, 11:23:28 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/MakeExe.cpp
r280 r294 2 2 3 3 #include <jenga/include/smoothie/Smoothie.h> 4 #include <jenga/include/common/Path.h> 4 5 5 6 #include <Compiler.h> … … 130 131 131 132 StepCompileProgress(); 133 134 135 ///////////////////////////////////////////////////////////////// 136 // 静的リンクライブラリをロードする 137 ///////////////////////////////////////////////////////////////// 138 139 if( !compiler.IsCore() ) 140 { 141 // コアモジュールをロードする 142 extern BOOL bDebugCompile; 143 extern char szIncludeDir[MAX_PATH]; 144 145 const char *coreFileName = "core.lib"; 146 if( bDebugCompile ) 147 { 148 coreFileName = "cored.lib"; 149 } 150 151 char coreFilePath[MAX_PATH]; 152 sprintf( coreFilePath, "..\\lib\\%s", coreFileName ); 153 GetFullPath( coreFilePath, szIncludeDir ); 154 155 compiler.staticLibraries.push_back( new ObjectModule() ); 156 compiler.staticLibraries.back()->Read( coreFilePath ); 157 } 158 159 BOOST_FOREACH( const std::string &filePath, compiler.staticLibraryFilePaths ) 160 { 161 compiler.staticLibraries.push_back( new ObjectModule() ); 162 compiler.staticLibraries.back()->Read( filePath ); 163 164 Jenga::Common::Path path( filePath ); 165 CompileMessage( ((string)"\"" + path.GetFileName() + path.GetExt() + "\" を読み込みました。").c_str() ); 166 } 132 167 133 168
Note:
See TracChangeset
for help on using the changeset viewer.