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

« back to all changes in this revision

Viewing changes to src/include/cbproject.h

  • 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:
165
165
        /** @return True if the project is using a custom Makefile for compilation, false if not. */
166
166
        bool IsMakefileCustom(){ return m_CustomMakefile; }
167
167
 
 
168
        /** Allow the specification of specific execution directory if the project use a custom Makefile.
 
169
          * Defaults to the projects base path, if no custom makefile is used.
 
170
          * @param dir The directory the custom Makefile should be executed from.
 
171
          */
 
172
        void SetMakefileExecutionDir(const wxString& dir);
 
173
 
 
174
        /** @return The execution directory for the custom Makefile.
 
175
          * Defaults to the projects base path, if no custom makefile is used.
 
176
          */
 
177
        wxString GetMakefileExecutionDir();
 
178
 
 
179
        /** @return Either the execution directory for the custom Makefile or
 
180
          * the projects base path.
 
181
          * Defaults to the projects base path, if no custom makefile is used.
 
182
          * Used to unify the call to the function.
 
183
          */
 
184
        wxString GetExecutionDir();
 
185
 
168
186
        /** Is there a build target (virtual or real) by @c name?
169
187
          * @param name The build target's name.
170
188
          * @param virtuals_too Include virtual build targets in query.
630
648
          * and than calls base function.
631
649
          */
632
650
        virtual void SetTitle(const wxString& title);
633
 
        
 
651
 
634
652
        /** Access the \<Extensions\> XML node of this project
635
653
          *
636
654
          * This function is for advanced users only. Use at your own risk
640
658
          * @note This function will never return NULL.
641
659
          */
642
660
        virtual TiXmlNode* GetExtensionsNode();
643
 
        
 
661
 
644
662
        /** Convenience function (mainly for scripts) to add nodes/attributes
645
663
          * under the \<Extensions\> node.
646
664
          *
676
694
        wxString CreateUniqueFilename();
677
695
        void NotifyPlugins(wxEventType type, const wxString& targetName = wxEmptyString, const wxString& oldTargetName = wxEmptyString);
678
696
        void CopyTreeNodeRecursively(wxTreeCtrl* tree, const wxTreeItemId& item, const wxTreeItemId& new_parent);
 
697
        bool VirtualFolderDragged(wxTreeCtrl* tree, wxTreeItemId from, wxTreeItemId to);
679
698
 
680
699
        // properties
681
700
        VirtualBuildTargetsMap m_VirtualTargets;
685
704
        wxString m_DefaultExecuteTarget;
686
705
        wxString m_Makefile;
687
706
        bool m_CustomMakefile;
 
707
        mutable wxString m_MakefileExecutionDir;
688
708
 
689
709
        FilesList m_Files;
690
710
        wxArrayString m_ExpandedNodes;
708
728
        bool m_ExtendedObjectNamesGeneration;
709
729
        wxString m_Notes;
710
730
        bool m_AutoShowNotesOnLoad;
711
 
        
 
731
 
712
732
        // copy of <Extensions> element, in case certain plugins are disabled
713
733
        // so that the contents are not lost
714
734
        TiXmlElement* m_pExtensionsElement;