On 09/09/2014 01:34 PM, Sonya Blade wrote:
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,

Is it possible that this isn't the top-level CMakeLists.txt?

It looks like the PLUGIN_NAME variable isn't set which is probably why project() complains.

Also I see nothing that would define the include_platform() function/macro which is missing.

Maybe both the variable and the function/macro are set up in a parent CMakeLists.txt?

Nils
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to