[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    Re: Cannot edit CMakeLists.txt
From:       Dimitrios Eftaxiopoulos <eftaxiop () central ! ntua ! gr>
Date:       2010-11-27 3:42:43
Message-ID: 201011270542.43631.eftaxiop () central ! ntua ! gr
[Download RAW message or body]

On Friday 12 November 2010 22:41:12 Milian Wolff wrote:
> On Thursday 11 November 2010 13:30:03 Dimitrios Eftaxiopoulos wrote:
> > Στις  έμπτη 11 Νοέμβριος 2010 01:14:37 Andreas Pakulat γράψατε:
> > > On 08.11.10 02:16:41, Dimitrios Eftaxiopoulos wrote:
> > > > Hello,
> > > > I have created a simple C++ sample "Hello world" project which works
> > > > fine. When I edit the CMakeLists.txt file, bring it back to its
> > > > original form eventually and save it, i.e. no changes are done to the
> > > > CMakeLists.txt file, I get the error
> > > > 
> > > > /cppproj/build> make
> > > > CMake Error: Error in cmake code at /cppproj/CMakeLists.txt:1:
> > > > Parse error.  Expected a command name, got unquoted argument with
> > > > text "project".
> > > > -- Configuring incomplete, errors occurred!
> > > > make: *** [cmake_check_build_system] Error 1
> > > > *** Failed ***
> > > > 
> > > > when I launch the configuration.
> > > > 
> > > > I use a fresh install of kdevelop 4.1, but the same happened with
> > > > 4.0.1.
> > > 
> > > And what does the cmakelists.txt look like that you have on disk?
> > 
> > The CMakeLists.txt file is the usual one, i.e
> > 
> > 
> > project(test)
> > 
> > add_executable(test main.cpp)
> 
> Please attach a tarball of the cmakelists.txt + main.cpp you try to
> compile.
> 
> And is it working from the CLI with plain CMake but not when running
> through KDevelop or what is the problem? If it's also not working in the
> CLI you did some mistake, have a buggy CMake or anything else but a
> KDevelop bug?

Hello,
I attach the two compressed files of essentially the same project. The first 
builds the second does not build with kdevelop.

Regards 
Dimitris

["test.tar.gz" (application/x-compressed-tar)]
["test_1.tar.gz" (application/x-compressed-tar)]

_______________________________________________
kdevelop mailing list
kdevelop@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic