Cannot edit CMakeLists.txt

Andreas Pakulat apaku at gmx.de
Wed Nov 10 23:14:37 GMT 2010


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?

Andreas

-- 
You are taking yourself far too seriously.




More information about the KDevelop mailing list