adding gccasm.rules to vcproj files
[reactos.git] / reactos / tools / rbuild / backend / devcpp / devcpp.cpp
index 83ec32d..a105111 100644 (file)
@@ -1,11 +1,11 @@
 /*
- * Dev-C++ Backend
- * Copyright (C) 2005  Trevor McCort
+ * Copyright (C) 2005 Trevor McCort
+ * Copyright (C) 2005 Casper S. Hornstrup
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -14,9 +14,8 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-
 #ifdef _MSC_VER
 #pragma warning ( disable : 4786 )
 #endif//_MSC_VER
@@ -35,18 +34,16 @@ static class DevCppFactory : public Backend::Factory
 
                DevCppFactory() : Factory("devcpp") {}
                Backend *operator() (Project &project,
-                                    bool verbose,
-                                    bool cleanAsYouGo)
+                                    Configuration& configuration)
                {
-                       return new DevCppBackend(project, verbose, cleanAsYouGo);
+                       return new DevCppBackend(project, configuration);
                }
                
 } factory;
 
 
 DevCppBackend::DevCppBackend(Project &project,
-                             bool verbose,
-                             bool cleanAsYouGo) : Backend(project, verbose, cleanAsYouGo)
+                             Configuration& configuration) : Backend(project, configuration)
 {
        m_unitCount = 0;
 }
@@ -113,8 +110,7 @@ void DevCppBackend::Process()
        
        Backend *backend = Backend::Factory::Create("mingw",
                                                    ProjectNode,
-                                                   verbose,
-                                                   cleanAsYouGo );
+                                                   configuration );
        backend->Process();
        delete backend;