~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to src/plugins/projectsimporter/msvc7loader.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
3
3
 * http://www.gnu.org/licenses/gpl-3.0.html
4
4
 *
5
 
 * $Revision: 4909 $
6
 
 * $Id: msvc7loader.cpp 4909 2008-02-27 13:15:26Z mortenmacfly $
7
 
 * $HeadURL: svn://svn.berlios.de/codeblocks/tags/8.02/src/plugins/projectsimporter/msvc7loader.cpp $
 
5
 * $Revision: 5578 $
 
6
 * $Id: msvc7loader.cpp 5578 2009-05-03 13:41:07Z biplab $
 
7
 * $HeadURL: svn+ssh://jenslody@svn.berlios.de/svnroot/repos/codeblocks/trunk/src/plugins/projectsimporter/msvc7loader.cpp $
8
8
 */
9
9
 
10
10
#include "sdk.h"
81
81
    m_ConvertSwitches = m_pProject->GetCompilerID().IsSameAs(_T("gcc"));
82
82
    m_ProjectName = wxFileName(filename).GetName();
83
83
 
 
84
    #if wxCHECK_VERSION(2, 9, 0)
 
85
    pMsg->DebugLog(F(_T("Importing MSVC 7.xx project: %s"), filename.wx_str()));
 
86
    #else
84
87
    pMsg->DebugLog(F(_T("Importing MSVC 7.xx project: %s"), filename.c_str()));
 
88
    #endif
85
89
 
86
90
    TiXmlDocument doc(filename.mb_str());
87
91
    if (!doc.LoadFile())
109
113
    if ((m_Version!=70) && (m_Version!=71))
110
114
    {
111
115
        // seems to work with visual 8 too ;)
 
116
        #if wxCHECK_VERSION(2, 9, 0)
 
117
        pMsg->DebugLog(F(_T("Project version is '%s'. Although this loader was designed for version 7.xx, will try to import..."), ver.wx_str()));
 
118
        #else
112
119
        pMsg->DebugLog(F(_T("Project version is '%s'. Although this loader was designed for version 7.xx, will try to import..."), ver.c_str()));
 
120
        #endif
113
121
    }
114
122
 
115
123
    m_pProject->ClearAllProperties();
626
634
                pf->RemoveBuildTarget(name);
627
635
                Manager::Get()->GetLogManager()->DebugLog(
628
636
                    F(_("removed %s from %s"),
 
637
                    #if wxCHECK_VERSION(2, 9, 0)
 
638
                    pf->file.GetFullPath().wx_str(), name.wx_str()));
 
639
                    #else
629
640
                    pf->file.GetFullPath().c_str(), name.c_str()));
 
641
                    #endif
630
642
            }
631
643
        }
632
644
        fconf = fconf->NextSiblingElement("FileConfiguration");