Re: [CMake] Defining a function in a macro

2014-08-03 Thread David Cole via CMake
, too. ;-) D -Original Message- From: Walter Gray chrysal...@gmail.com To: cmake cmake@cmake.org Sent: Fri, Aug 1, 2014 8:32 pm Subject: [CMake] Defining a function in a macro Hey List - Just wanted to put this out there for posterity, and in case anyone runs into the same question I

[CMake] Defining a function in a macro

2014-08-01 Thread Walter Gray
Hey List - Just wanted to put this out there for posterity, and in case anyone runs into the same question I had. I had a bunch of nearly identical functions, so I wanted to write a function to define them for me to reduce code repetition. The problem I ran into was that if you write