summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeBlocksGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'CodeBlocksIncludeDirsAndDefines'David Cole2011-08-021-0/+54
|\ | | | | | | | | | | | | e2e8c0a Also put builtin include dirs into CodeBlocks project file 92c0dc5 Remove useless line of code a5683f8 Patch by Campbell Barton: puts definitions into C::B project file
| * Also put builtin include dirs into CodeBlocks project fileAlex Neundorf2011-08-011-0/+38
| | | | | | | | | | | | | | | | Refactor code from CMakeFindEclipseCDT4.cmake so it can be used alkso for CodeBlocks, and move it into new file CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake. Alex
| * Patch by Campbell Barton: puts definitions into C::B project fileAlex Neundorf2011-07-291-0/+16
| | | | | | | | | | | | | | This enables Codeblocks and QtCreator to do proper highlighting based on defined macros. Alex
* | Don't put files from CMAKE_ROOT into CodeBlocks projects (#12110)Alex Neundorf2011-07-291-0/+7
|/ | | | | | This causes that all files in C::B are displayed in a tree starting at / Alex
* Also add the SOURCES from add_custom_target() to CodeBlocks projects (#11736)Alex Neundorf2011-02-131-0/+7
| | | | | | | | Since CMake 2.6.3 add_custom_target() has a SOURCES option, this was not yet considered in the C::B generator. Also, now GENERATED files are not added to the project. Alex
* Don't disable colors in the CodeBlocks generator and minor cleanup.Alex Neundorf2010-11-111-9/+0
| | | | | | | Since now the only users of SetToolSupportsColor() are gone, this method is removed too. Alex
* Don't enforce VERBOSE makefiles for the CodeBlocks generatorAlex Neundorf2010-11-111-1/+3
| | | | | | | | | Instead of enforcing verbose makefile, now the generated build command includes "VERBOSE=1" so the output will be verbose when building in C::B. Also removed the now unused setForceVerboseMakefiles(). Alex
* Remove trailing whitespaceAlex Neundorf2010-11-111-37/+37
| | | | Alex
* CodeBlocks Generator: Do not omit files in the project file listing.Alex Neundorf2010-10-051-4/+0
| | | | | | | | | | | | The CodeBlocks generator used to omit files that were in siblings directories. Though that filters out a few files that could be argued aren't of interest to the user, it also potentialy hides files that are relevant to the user. Patch by Daniel Teske. Alex See: http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2250 for an example.
* Default to gcc as the compiler.Bill Hoffman2010-03-151-2/+2
| | | | | | The compiler id is checked for C++ and C, if there is not one of those available, then just default to gcc. This makes it work with Fortran, or None projects.
* -make paths with spaces work in the CodeBlocks generator with MinGW (#10014)Alexander Neundorf2010-01-241-6/+10
| | | | Alex
* make testing the CodeBlocks and Eclipse generators easier by not requiring ↵Alexander Neundorf2009-10-201-2/+7
| | | | | | | | | | | | | the CMAKE_EDIT_COMMAND variable Both generators use the CMAKE_EDIT_COMMAND variable to determine whether they should add the edit_cache target, i.e. they don't add it if it's ccmake, since this does not work inside the output log view of Eclipse/Codeblocks. But instead of requiring the variable to be set they now check it for 0 and handle this appropriately. This should help Dave getting some testing for them :-) Alex
* fix line lengthAlexander Neundorf2009-10-131-1/+2
| | | | Alex
* fix indentationAlexander Neundorf2009-10-121-75/+74
| | | | Alex
* fix #9687Alexander Neundorf2009-10-121-4/+12
| | | | | | | The CodeBlocks generator did not put all cmake files into the cmake tree of the generated project. Patch from Daniel Teske. Alex
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-18/+12
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Fix bug #9529.Alexander Neundorf2009-09-261-2/+23
| | | | | | | | Set the working_dir entry in the codeblocks project file of executable targets to the directory where the executable is created. Then when running CB, executing the target (not building), will run it from that directory. Alex
* As in the Eclipse generator: don't insert the edit_cache target if it is ↵Alexander Neundorf2009-09-101-1/+18
| | | | ccmake, since this doesn't work in the output tab of the IDE
* Improve the algorithm which skips targets so they are not added to the ↵Alexander Neundorf2009-09-061-47/+16
| | | | | | | | | codeblocks GUI. -add all global targets from CMAKE_BINARY_DIR to the menu, but not from the subdirs -add all utility targets to the menu, except the Nightly/Experimental/Continuous-"sub"targets as e. Alex
* ENH: get the build type specific locationAlexander Neundorf2009-07-071-1/+2
| | | | Alex
* COMP: don't use vector::at(), this doesn't seem to exist everyhwereAlexander Neundorf2009-06-291-2/+2
| | | | | | (http://www.cdash.org/CDash/viewBuildError.php?buildid=366375) Alex
* ENH: create a "Virtual Folder" in CodeBlocks, which contains all the cmakeAlexander Neundorf2009-06-281-0/+192
| | | | | | | | files of the project, i.e. there is now a "CMake Files" folder additionally to the "Sources", "Headers" and "Others" folders which already existed. Patch by Daniel Teske. Alex
* ENH: also support nmake and msvc for use with CodeBlocks under Windows,Alexander Neundorf2009-06-281-2/+2
| | | | | | patch by Daniel Teske Alex
* ENH: only check for the existance of a header file if:Alexander Neundorf2009-03-101-11/+55
| | | | | | | -the original file is a C/C++ implementation file -the header file is not already part of the sources Alex
* ENH: automatically add headers of implementation file to the codeblocks ↵Alexander Neundorf2009-03-081-4/+36
| | | | | | project file Alex
* BUG: fix #8203: codeblocks + mingw doesn't like the extra quotes around theAlexander Neundorf2009-01-091-0/+7
| | | | | | path to the makefile if it contains spaces, under Linux it works with spaces Alex
* STYLE: remove some commented codeAlexander Neundorf2008-08-161-13/+2
| | | | Alex
* STYLE: move the code for generating the XML for one target in a separateAlexander Neundorf2007-11-251-52/+78
| | | | | | | | | function AppendTarget() -add "all" target -some syncing with the Eclipse generator Alex
* ENH: also add the experimental, nightly, package_source, preinstall andAlexander Neundorf2007-11-251-11/+45
| | | | | | rebuild_cache targets Alex
* STYLE: add some commentsAlexander Neundorf2007-11-251-0/+13
| | | | Alex
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-3/+3
| | | | there, also provides secitons for Variables now
* STYLE: fix line lengthsAlexander Neundorf2007-09-181-6/+16
| | | | Alex
* ENH: use the oubject_output option to try to tell CodeBlocks where theAlexander Neundorf2007-09-181-0/+1
| | | | | | | object files are located (to make "compile file" work). Doesn't work yet, but at least the .objs/ is now removed from the path. Alex
* ENH: add support for Fortran to the KDevelop generatorAlexander Neundorf2007-08-311-2/+1
| | | | | | -minor optimization for GetLanguageEnabled() Alex
* STYLE: "Build file" still doesn't work, but now it is at least a bit closer,Alexander Neundorf2007-08-301-1/+1
| | | | | | it needs some more support from CB Alex
* BUG: make paths with spaces work in CodeBlocksAlexander Neundorf2007-08-291-12/+5
| | | | | | -gcc is always gcc and not mingw Alex
* ENH: don't hardcode gccAlexander Neundorf2007-08-291-37/+147
| | | | | | | -put the include dirs in the project file to enable autocompletion -prepare for nmake Alex
* STYLE: add links to docsAlexander Neundorf2007-08-281-0/+13
| | | | Alex
* COMP: disable nmake support until somebody tests itAlexander Neundorf2007-08-271-2/+2
| | | | Alex
* ENH: don't create a CodeBlocks workspace, the CodeBlocks projects coverAlexander Neundorf2007-08-071-39/+0
| | | | | | everything what's needed Alex
* STYLE: fix line lengthsAlexander Neundorf2007-08-061-10/+13
| | | | Alex
* BUG: also offer the extra generators in CMakeSetupAlexander Neundorf2007-08-011-1/+2
| | | | Alex
* STYLE: fix line lengthsAlexander Neundorf2007-07-201-4/+7
| | | | Alex
* ENH: build codeblocks generator also on WindowsAlexander Neundorf2007-07-181-4/+8
| | | | Alex
* ENH: add a simple CodeBlocks extra generator, early alpha stage, there seemsAlexander Neundorf2007-07-131-0/+269
to be interest in it Alex