[CMake] including paths - basic
Mark Wyszomierski
markww at gmail.com
Fri Oct 19 09:34:18 EDT 2007
It works fine now that I try it -
Is there any way to switch on debug and release builds? Something like:
IF (DEBUG)
include_directories(...)
ELSE (DEBUG)
include_directories(...)
ENDIF (DEBUG)
Thanks
On 10/19/07, a.neundorf-work at gmx.net <a.neundorf-work at gmx.net> wrote:
> On Thursday 18 October 2007 19:32, Mark Wyszomierski wrote:
> > Hi,
> >
> > I'm new to cmake, it looks great. Is it possible to include different
> > paths conditionally, like:
> >
> > include_directories (${MY_PROJECT_SOURCE_DIR}/my_lib)
> > IF (WIN32)
> > include_directories (C:/my_stuff/lib/something)
> > ELSE (WIN32)
> > include_directories (/usr/lib/something)
> > ENDIF (WIN32)
>
> The code looks good, do you have problems with it ?
>
> Alex
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
More information about the CMake
mailing list