Re: CMake: skipping compiler detection

[email protected]
Newsgroups gmane.games.devel.sweng
Message-ID <1823602404.1586471265301149030.JavaMail.root@spooler1-g27.priv.proxad.net>
De: "Daniele Benegiamo" <[email protected]>
> I'm writing a little "assets building pipeline" using CMake.
> 
> Someone know how to skip the compiler detection automatically performed 
> on startup by CMake?
> 
> The problem is that asset buildings are actually performed on various 
> systems (computers with no compilers at all and computers with cross 
> compiling environments) and CMake fails to start due its inability to 
> complete the compilers checks.
> 
> As my assets pipeline don't needs a compiler...I would like CMake to 
> know this too!

Well, if he cannot know this automagically, you may be able to force it 
to consider that he found a compiler by setting the CC (or CXX?) 
environment variable to something that really exist. Since you don't 
have any C file, the program won't even be called.

Unfortunately, I cannot test this here as I don't have CMake installed 
(and I don't want to install it on this machine). 

> 	Daniele
> 
> 
> P.S. Please avoid "why don't use system X instead of CMake?" answers ;)

I was tempted to do so... :)

-- Emmanuel Deloget

_______________________________________________
Sweng-Gamedev mailing list
[email protected]
http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.