[CMake] Hello World Program

Eric Noulard eric.noulard at gmail.com
Mon Jun 8 03:15:30 EDT 2009


2009/6/8 Sascha 'saigkill' Manns <samannsml at directbox.com>:
> Hello Guys,
>
> atm i'm learning QT/KDE Programming. I'm created an KDE4Gui Program with
> the Templatemaker.
> Then i has gone to the directory, and typed: cmake CMakeList.txt.
> But i get:
> WARNING: Target "test" has EXCLUDE_FROM_ALL set and will not be built by
> default but an install rule has been provided for it.  CMake does not
> define behavior for this case.
> Whats happend?

Usually you should give us an exercpt of your CMakeLists.txt in order
to makes it possible to understand the problem.

Did you by any chance call your test program "test".

If this is the case try to change its name to something
else like "testK4".

"test" is a builtin CMake target used when doing testing with CTest.

-- 
Erk


More information about the CMake mailing list