Re: [CMake] Problem with override file ...

2017-02-15 Thread Michael Burns via CMake
when using add_definitions in an override file? Mike On 2/8/2017 11:50 AM, Michael Burns via CMake wrote: Using the following override file results in the try_compile failing for both the C compiler and the C++ compiler. The output shows that the override fil

[CMake] Problem with override file ...

2017-02-08 Thread Michael Burns via CMake
Using the following override file results in the try_compile failing for both the C compiler and the C++ compiler. The output shows that the override file is being processed multiple times. The first time it is processed, the variable PARAM is 'set' as specified on the CMake command line. However,

Re: [CMake] Add libraries to end of compilation line ...

2014-06-27 Thread Michael Burns via CMake
al one from within that function. This way you only have to edit one file. HS On 26. Juni 2014 18:14:36 MESZ, Michael Burns via CMake <cmake@cmake.org> wrote: Hello

Re: [CMake] Add libraries to end of compilation line ...

2014-06-26 Thread Michael Burns via CMake
_libraries(${YOUR_LIB} > ${GLOBAL_LIBRARIES} > ... > ) > > Maybe there is some better practice out there for this, if so, I would > also be interested to know :) > > Cheers! > Angeliki > > > On Wed, Jun 25, 2014 at 7:46 PM, Michael Burns via CMa

[CMake] Add libraries to end of compilation line ...

2014-06-25 Thread Michael Burns via CMake
Hello, all. I work on a cross-platform project that has many libraries and several applications. CMake on Linux naturally adds the TARGET_LINK_LIBRARIES specified in the libraries after those specified in the TARGET_LINK_LIBRARIES for the application. However, there are several common system libra