Re: [CMake] add_custom_command and CONFIG-dependent output

2014-08-24 Thread Braden McDaniel
On Fri, 2014-08-22 at 16:58 -0400, David Cole via CMake wrote: > Use "${CMAKE_CFG_INTDIR}" in the context of add_custom_command OUTPUT, > not $. > > You may also use that in the COMMAND arguments. > > See documentation here: > http://www.cmake.org/cmake/help/v3.0/variable/CMAKE_CFG_INTDIR.html >

[CMake] Unhelpful cmListFileCache error

2014-08-24 Thread David Zemon
Hello all, This problem does not exist in Linux - I have perfect compilation there. Windows, however, is throwing the following error: CMake Error: cmListFileCache: error can not open file C:/Users/David/Documents/GitHub/PropWare CMake Error: Could not find cmake module file: The "ca

[CMake] Find SDL

2014-08-24 Thread Christer Solskogen
Hi! I have a cross compiler, installed into /opt/cross, which is compiled by me. This cross compiler (gcc) is sysroot aware, which means that every header and library is installed into /opt/cross/. In order to get cmake to find SDL (both SDL1 and SDL2) I need to specify SDLDIR. The project I