Re: [CMake] Multiple "projects" one directory

2018-04-28 Thread Scott Bloom
Thanks I'll look into it. ~~Scott Original message From: "Alan W. Irwin" Date: 4/28/18 01:07 (GMT-08:00) To: Scott Bloom Cc: cmake@cmake.org Subject: Re: [CMake] Multiple "projects" one directory On 2018-04-27 22:06- Scott Bloom wrote: > I have a rather complicated Qt

Re: [CMake] Help Accommodating Ninja when including CMAKE_CURRENT_BINARY_DIR

2018-04-28 Thread Stephen McDowell
​After much deliberation, I was never successful in getting a synthetic target to work as expected. The dilemma is that `add_custom_command` cannot specify both `TARGET` and `OUTPUT`, the work flow was something like add_custom_target(resource-dependency) add_custom_command(TARGET resource-depend

[CMake] error during bootstrap in cygwin

2018-04-28 Thread Ganesh S
hi All,I'm trying to run bootstrap in cygwin. I get the following error:19: error: ‘environ’ undeclared (first use in this function)   return ((int*)(&environ))[argc];                   ^~~What am I supposed to do? -- Powered by www.kitware.com Please keep messages on-topic and check the

Re: [CMake] Multiple "projects" one directory

2018-04-28 Thread Alan W. Irwin
On 2018-04-27 22:06- Scott Bloom wrote: I have a rather complicated Qt based project. We are looking at rolling out a subset tool, and it will be significantly smaller in functionality. For that mode, I would like to set a CMake variable LITEVERSION that builds the tool with -DLITEVERSIO