[CMake] Corrupted CmakeLists.txt File how to heal it ?

Sonya Blade sonyablade2010 at hotmail.com
Tue Sep 9 07:34:08 EDT 2014


Dear All,
I find ti very difficult to configure the project which has the following CMakeLists.txt at the attachement.The CMakeLists is automatically created with FireBreath Python script (fbgen.py) and is supposed to run on Win32/64 compiled with MSVS10~13 and MinGW compilers. After compilation it is supposed to create a osgWeb plugin of OpenSceneGraph library which will be used in Web applications for rendering. 
I Use Cmake-GUI 2.8.12.2 to configure the CMakeLists.txt file but no matter which compiler I set ( I prefer Code::Blocks MinGW Makefile) Cmake-GUI produces the "Error in configurition process, project files may be invalid" dialog, with following report,
CMake Error at CMakeLists.txt:11 (Project):
  project PROJECT called with incorrect number of arguments



CMake Error at CMakeLists.txt:39 (include_platform):
  Unknown CMake command "include_platform".



Configuring incomplete, errors occurred!


What is wrong here I 'll appreciate your guidance,

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140909/5ee5c52c/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140909/5ee5c52c/attachment.txt>


More information about the CMake mailing list