[CMake] New platform which did not deserve upstream: how to avoid warning?

Alexander Neundorf a.neundorf-work at gmx.net
Thu Mar 1 14:40:56 EST 2012


On Thursday 01 March 2012, Eric Noulard wrote:
> Hi,
> 
> I'm working on a research platform for which  I wrote a toolchain file.
> Let's say this platform is called "Blah"
> 
> how do I avoid the
> 
> "System is unknown to cmake, create:
> Platform/Blah to use this system, please send your config file to
> cmake at www.cmake.org so it can be added to cmake"
> 
> Besides that all is OK (because the C compiler is GCC based).
> 
> So I wonder how I can do to avoid the warning.
> 
> There is no benefit to put this platform in upstream CMake so I can
> write a dummy Blah.cmake platform?
> Putting the file in a local (to my project) Platform/ directory seems
> ok if I modify the CMAKE_MODULE_PATH before project() command but is this
> the correct way of work?

I'd say so.
What kind of platform is it ?
Something small embedded ?

Alex




More information about the CMake mailing list