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

2012-03-01 Thread Eric Noulard
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
cm...@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?



-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
--

Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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

2012-03-01 Thread Alexander Neundorf
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
> cm...@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


--

Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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

2012-03-01 Thread Eric Noulard
2012/3/1 Alexander Neundorf :
> 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
>> cm...@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 ?

Intel SCC:
http://techresearch.intel.com/ProjectDetails.aspx?Id=1

> Something small embedded ?

Not so small and not embbedable in a foreseen future.

-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
--

Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake