> right?
>
> Petr
>
> On Thu, Jan 14, 2016 at 8:25 AM, Owen Hogarth II <gurenc...@gmail.com>
> wrote:
>
>> I am trying to use a macro to enable c99 in some of my cmake modules.
>>
>> In the top level cmake file I add this macro
>>
>> macro(use_c99
I am trying to use a macro to enable c99 in some of my cmake modules.
In the top level cmake file I add this macro
macro(use_c99)
if (CMAKE_VERSION VERSION_LESS "3.1")
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
set (CMAKE_C_FLAGS "--std=gnu99 ${CMAKE_C_FLAGS}")
endif ()
else ()
t.
>
> Have you tried passing "-DCMAKE_BUILD_TYPE=Debug" to CMake when invoking
> it?
>
> It is also possible to set this option when using "cmake-gui".
>
> Many regards,
> Rainer
>
>
> On Sat, Jan 2, 2016 at 9:23 PM, Owen Hogarth II <gurenc...
I have a simple cmake project that I am trying to test with gdb but I am
having trouble. GDB is reporting now debugging symbols.
CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
PROJECT(core_e)
SET(CMAKE_MACOSX_RPATH 1)
set(CMAKE_C_FLAGS "-g -Wall")
FIND_PACKAGE(OpenGL REQUIRED)
Hi
Is there a standardized way to unzip a file with cmake that can work on all
of cmake's target platforms?
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake
, but certainly not easy.
>
>
> David
>
>
> > On Dec 18, 2015, at 3:29 PM, Owen Hogarth II <gurenc...@gmail.com>
> wrote:
> >
> > If you download, compile and install a cmake project through external
> project
> >
> > How can I make sure th
If you download, compile and install a cmake project through external
project
How can I make sure that the external project is built before something
that depends on that external project?
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
and can be
solved at the same time.
I would like to add this to my external projects, their include directories
are located in
TARGET_INCLUDE_DIRECTORIES(sdl PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
On Tue, Dec 15, 2015 at 8:47 PM, Owen Hogarth II <gurenc...@gmail.com>
wrote:
> I
I have been reading this:
https://cmake.org/cmake/help/v3.0/module/ExternalProject.html
trying to add sdl external project but I am having issues. I created a new
cmake project to test.
I already downloaded the sdl library and can build it correctly by manually
calling cmake commands but this
holas11bra...@gmail.com
> wrote:
> What's the word "clone" doing in there? That should be a URL, not
> command parameters.
>
> On Tue, Dec 15, 2015 at 2:01 AM, Owen Hogarth II <gurenc...@gmail.com>
> wrote:
> > I have been reading this:
> > https://cmake.
I was able to build the external project that required cmake like this:
include(ExternalProject)
ExternalProject_Add(sdl
HG_REPOSITORY http://hg.libsdl.org/SDL
UPDATE_COMMAND hg pull -u http://hg.libsdl.org/SDL
CMAKE_ARGS -DSDL_STATIC:BOOL=FALSE
with ExternalProject_Add?
On Wed, Dec 16, 2015 at 12:53 AM, Owen Hogarth II <gurenc...@gmail.com>
wrote:
> In response to myself I've figure it out with using add_step function and
> calling some commands.
>
> Full source for what's working building both external libraries.
>
>
things)
> to find external projects during the configuration.
>
> Cheers,
> Attila
>
> > On 13 Dec 2015, at 21:20, Owen Hogarth II <gurenc...@gmail.com> wrote:
> >
> > wow, that's excellent cmake -LAH lead me to the variable that I was
> looking fo
If you have a cmake project, what's the way to see what type of
configuration options are available?
For example I know that I can pass -DCMAKE_PREFIX_PATH the set where the
project will be installed.
Sometimes project creators add other things, such as building static or
share libraries, SSE,
14 matches
Mail list logo