[CMake] General cross platform stating place

2015-09-07 Thread Aaron Gray
Hi, Am new to this mailing list. And have looked at CMake as a tool in a number of other projects including LLVM, but still consider myself a CMake newbie. I am looking at using CMake for a group of meta language based projects I am developing. Basically I need to be able to develop for all thre

Re: [CMake] No-op command?

2015-09-07 Thread Chuck Atkins
> > if(CMAKE_SYSTEM_NAME STREQUAL "Windows") >> else() >>... do something ... >> endif() >> > While you may need the empty if condition for something else, in this use case specifically you could just as easily avoid the empty conditional block and negate the expression with: if(NOT CMAKE_SYST

[CMake] Generated .rc files silently ignored

2015-09-07 Thread Mueller-Roemer, Johannes Sebastian
While adding versioning info to a .dll I noticed that .rc files that are generated (via configure_file) are silently being ignored. Adding them via an absolute path works, but using a relative leads to it being ignored. Is this a bug or is this by design? At the very least just silently ignorin

Re: [CMake] New to cmake and I have a problem.

2015-09-07 Thread Roman Bolshakov
Hi Jay,  Have you tried something like this (http://www.cmake.org/pipermail/cmake/2010-July/038312.html)? — Отправлено из Mailbox On Fri, Sep 4, 2015 at 9:37 PM, Jay Cotton wrote: > Hi: > I need to add an 'S' to the ar flags. Now, I have found that I can edit > the link.txt file but, > th