Re: [CMake] setting/removing compiler flag (-g) for a single project directory

2017-09-16 Thread Steven Velez
Gotcha... yeah target definitions are available globally, in all directories after they are defined (source order is important). I had never thought of this as a global variable or constant, but I guess in a way it is. In that way, then I would think it is a sort of special case... but I suppose

Re: [CMake] Changing the actual "src" directory where VS project and/or sln files are rooted

2017-09-16 Thread Michael Powell
On Sat, Sep 16, 2017 at 5:44 PM, J Decker wrote: > > > On Sat, Sep 16, 2017 at 2:25 PM, Michael Powell > wrote: >> >> Hello, >> >> Sorry if this seems like a rookie/novice question. I'm not new to >> CI/CD, however; this question may have been asked before, I don't >> know. >> >> I'll preface wit

Re: [CMake] Changing the actual "src" directory where VS project and/or sln files are rooted

2017-09-16 Thread J Decker
On Sat, Sep 16, 2017 at 2:25 PM, Michael Powell wrote: > Hello, > > Sorry if this seems like a rookie/novice question. I'm not new to > CI/CD, however; this question may have been asked before, I don't > know. > > I'll preface with a little background. It's been a little while for me > using and

[CMake] Changing the actual "src" directory where VS project and/or sln files are rooted

2017-09-16 Thread Michael Powell
Hello, Sorry if this seems like a rookie/novice question. I'm not new to CI/CD, however; this question may have been asked before, I don't know. I'll preface with a little background. It's been a little while for me using and truly "grokking" CMake, but if memory serves, CMake lifts raw source in

Re: [CMake] setting/removing compiler flag (-g) for a single project directory

2017-09-16 Thread René J . V . Bertin
On Friday September 15 2017 16:51:24 Steven Velez wrote: >Yeah... I didn't mean to respond personally... i didn't realize my client >was doing that and not the list. OK, replying back to the list then. >What do you mean by "variables related to targets have global scope"? I probably could have

[CMake] CMake Visual Studio zlib zlibstatic.lib

2017-09-16 Thread Robin Mills
Folks My project (exiv2.org ) uses zlib and is builds well on all platforms (Linux, Cygwin, MacOS-X and Visual Studio) with CMake. A user complained that the CMake/Visual Studio static builds link zlib.dll (zlibd.dll for debug) and wants to link zlibstatic.lib (zlibstaticd.lib