summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-09-18 13:54:42 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-09-18 13:54:42 (GMT)
commit4cb2240576d2b9ccd520d3cb81bd49a57b60fa4d (patch)
tree551051841a940e87c8167c7a5abb9c80c0624aa4
parent485af41bf798f18f77354aaeabdc1d6408ba2b03 (diff)
downloadCMake-4cb2240576d2b9ccd520d3cb81bd49a57b60fa4d.zip
CMake-4cb2240576d2b9ccd520d3cb81bd49a57b60fa4d.tar.gz
CMake-4cb2240576d2b9ccd520d3cb81bd49a57b60fa4d.tar.bz2
ENH: use the oubject_output option to try to tell CodeBlocks where the
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
-rw-r--r--Source/cmExtraCodeBlocksGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx
index 02e3bfb..6e0d1c9 100644
--- a/Source/cmExtraCodeBlocksGenerator.cxx
+++ b/Source/cmExtraCodeBlocksGenerator.cxx
@@ -190,6 +190,7 @@ void cmExtraCodeBlocksGenerator
fout<<" <Target title=\"" << ti->first << "\">\n"
" <Option output=\"" << ti->second.GetLocation(0) << "\" prefix_auto=\"0\" extension_auto=\"0\" />\n"
" <Option working_dir=\"" << makefile->GetStartOutputDirectory() <<"\" />\n"
+ " <Option object_output=\"./\" />\n"
" <Option type=\"" << cbTargetType << "\" />\n"
" <Option compiler=\"" << compiler << "\" />\n"
" <Compiler>\n";