IMLIB2_INCLUDE_DIRS:INTERNAL=/usr/local/include;/usr/local/include/freetype2
IMLIB2_LIBRARIES:INTERNAL=Imlib2
IMLIB2_LIBRARY_DIRS:INTERNAL=/usr/local/lib
IMLIB2_LDFLAGS:INTERNAL=-L/usr/local/lib;-lImlib2
[...]
Cheers,
--
David Demelier
___
Powered by www.kitware.com
Visit
On 13/05/2011 11:03, Michael Hertling wrote:
On 05/12/2011 10:40 PM, David Demelier wrote:
Hello,
I have some trouble to link my project to the imlib2 library. The
library is installed correctly and a command like :
gcc test.c -o test `pkg-config --libs --cflags imlib2`
works and link
,
--
David Demelier
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow
On 14/06/2011 17:22, David Demelier wrote:
Hello,
On FreeBSD the status of ncurses is particularly annoying. We have a old
curses lib under /usr/lib/libcurses.so that does not provide ncurses
functionalities.
I tried the following CMakeLists.txt
cmake_minimum_required(VERSION 2.8)
project
found as attachment is inspired by
FindSDL_mixer.cmake because they are very similar.
Cheers,
--
David Demelier
# Locate SDL_gfx library
# This module defines
# SDLGFX_LIBRARY, the name of the library to link against
# SDLGFX_FOUND, if false, do not try to link to SDL
# SDLGFX_INCLUDE_DIR, where
On 29/06/2011 21:49, David Demelier wrote:
Hello cmake users,
I don't know how users usually send new modules so I try by mail. I made
a cmake module for SDL_gfx library
(http://www.ferzkopp.net/Software/SDL_gfx-2.0/)
It's not a SDL official library but it is popular and a lot of games
to be build as static ?
Cheers,
--
David Demelier
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org
the demos build ON)
if (BUILD_DEMOS)
...
endif ()
Then when building the project a it will also enter the if BUILD_DEMOS
conditional.
What can I do now? :)
Cheers,
--
David Demelier
___
Powered by www.kitware.com
Visit other Kitware open-source
On 18/09/2011 21:54, Alexander Neundorf wrote:
On Sunday, September 18, 2011 02:42:49 PM Michael Wild wrote:
On 09/18/2011 02:32 PM, Alexander Neundorf wrote:
On Sunday, September 18, 2011 02:15:54 PM David Demelier wrote:
Hello,
I noticed that option() values are not checked when the option
is exported and I don't know any portable way to disable this.
Does CMake can handle this problem and export some symbols without using
ten thousand of #ifdef #endif in C files?
Cheers,
--
David Demelier
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com
Hello,
I try to use CPack to create a Windows package using NSIS, it fails with:
[100%] Built target sd-tris
Run CPack packaging tool...
CPack: Create package using NSIS
CPack: Install projects
CPack: - Run preinstall target for: sd-tris
CPack: - Install project: sd-tris
CPack: Create package
, the Windows menu entry executable points to
${CMAKE_INSTALL_PREFIX}/bin/sd-tris.exe while I installed the target
directly in ${CMAKE_INSTALL_PREFIX}
Cheers,
On Wed, Jun 27, 2012 at 6:24 AM, David Demelier
demelier.da...@gmail.com wrote:
Hello,
I try to use CPack to create a Windows package using NSIS
2012/6/27 Eric Noulard eric.noul...@gmail.com:
2012/6/27 David Cole david.c...@kitware.com:
Demelier David
You can try:
set(CPACK_NSIS_EXECUTABLES_DIRECTORY .)
before you include(CPack).
This bug ( http://public.kitware.com/Bug/view.php?id=7828 ) was
resolved by adding the
On 28/06/2012 11:20, Eric Noulard wrote:
2012/6/27 David Demelier demelier.da...@gmail.com:
Thanks for your help, it worked!
Now, the last problem, I noticed that CPACK_PACKAGE_EXECUTABLES you
can't set an icon, thus I used my own CreateShortCut and Delete with
respectively
,
--
David Demelier
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org
Le mercredi 13 mars 2013 11:35:13 Martin Koller a écrit :
On Tuesday 12 March 2013 20:53:21 David Demelier wrote:
Thanks for your answer, however target_link_libraries() my modules to the
target of core will link to the build binary directory as expected :
markand@Melon .../src/magicstat
Hi there,
I try to compile my application using CMake + VS2012. Running with
-DCMAKE_BUILD_TYPE=Debug will build with debug symbols, however when
trying to debug VS2012 stills says break points won't be reached, no
debug file has been loaded for this document.
But before running I have :
Hi there,
After doing a CMake generation, if I try to change the C compiler by
doing cmake -DCMAKE_C_COMPILER=/usr/bin/clang it configures again but
never ends, see :
Installation directories:
PREFIX /usr/local
MANDIR /usr/local/share/man
DOCDIR
2013/6/3 Benjamin Eikel cm...@eikel.org:
Am Montag, 3. Juni 2013, 12:08:19 schrieb David Demelier:
Hi there,
After doing a CMake generation, if I try to change the C compiler by
doing cmake -DCMAKE_C_COMPILER=/usr/bin/clang it configures again but
never ends, see :
Installation directories
Hello,
I'm writing a C++11 project. To enable C++11 it requires some switches,
such as -std=c++11.
So for the moment, I have in my CMakeLists.txt:
set(CMAKE_CXX_FLAGS -std=c++11)
So with that, I'm sure that any build configuration will add this.
However, with clang++, you need to pass an
Hello folks,
I had a question a long time ago about the qt4_wrap_cpp and the
target_include_directories commands.
To explain the problem, I wanted to use target_include_directories to
add include directories to dependent target easier. However I really
wanted to use qt4_wrap_cpp and not AUTOMOC
expect to have one.js and two.js in the
top-level directory. Can you please tell me what I'm doing wrong?
Regards,
--
David Demelier
--
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
why it does not work with that because stdlib.h can be
found as /usr/x86_64-w64-mingw32/include/stdilb.h.
Do you have any clue?
Regards,
--
David Demelier
--
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
Hello,
I was guessing if it is possible to build a autotools based project
that requires MSYS from a MinGW project.
The ExternalProject could works but using the MinGW generator in the
root projects requires to *not* have the sh.exe in the PATH.
So I'm stuck on how to achieve this.
Do you have
2016-09-12 23:22 GMT+02:00 Maciej Mrozowski <reave...@gmail.com>:
> On piątek, 2 września 2016 13:12:27 CEST David Demelier wrote:
>
>> Do you have any clue?
>
> It seems your toolchain does not have include/library path built-in or they
> are different that those it w
Hello,
I've installed boost under C:\env\mingw64 so I basically have the
following content:
- C:\env\mingw64\include\boost-1_62\boost\*
- C:\env\mingw64\lib\libboost_libname-mgw62-1_62.dll(.a)
I've also set the following environment variables:
-
2016-11-14 16:00 GMT+01:00 Sergei Nikulov :
> Add option -DBoost_ADDITIONAL_VERSIONS="1.62.00;1.62" to command line
> or
> Update you findboost.cmake module from CMake repository.
I've tried the additional the variable with no luck. I've also updated
CMake to 3.7 with no
Hello,
I have the following files:
D:/env/mingw64/lib/libzip.dll.a
D:/env/mingw64/bin/libzip.dll
The following environment:
PATH=D:/env/mingw64/bin
CMAKE_PREFIX_PATH=D:/env/mingw64
Using this:
find_library(
ZIP_LIBRARY
NAMES zip libzip
)
I got this in the CMakeCache.txt:
//Path to
Le 27/07/2017 à 13:08, Eric Noulard a écrit :
2017-07-27 12:28 GMT+02:00 David Demelier <demelier.da...@gmail.com
<mailto:demelier.da...@gmail.com>>:
Hello,
I'm still trying to find a correct solution to handle user specified
installation paths.
Let's consi
e absolute, especially on Windows.
What are your thoughts on that, recommandations?
Regards,
--
David Demelier
--
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 community
On Mon, 2018-05-21 at 19:39 +0200, Mateusz Loskot wrote:
> Hi,
>
> I've been recently trying to update/add Find-modules to CMake:
> updated FindJPEG, proposed FindODBC and most recently FindLZ4.
>
> Discussion during review of the FindLZ4 [1] ended with some
> surprising
> conclusions which I,
On Tue, 2018-04-17 at 12:25 +0200, Johannes Zarl-Zierl wrote:
> Just replying to this topic of your message: you may want to
> reconsider. The
> cmake gui allows you to group options automatically by prefix. This
> de-clutters
> the options considerably.
I didn't know that! Nice catch. I'll
Hello,
In my application I have some custom functions that help the process of
creating executable, libraries, plugins and such.
They don't do magic things but they mostly build, provide installation
to specific place and optionally build the documentation and install
them as well. This happens
I can't understand what I am missing because it's not the first time I
use boost on Windows though. I've tried set BOOST_ROOT to the same value
as CMAKE_PREFIX_PATH with no results.
--
David Demelier
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http:
On Sat, 2018-03-17 at 23:15 +0100, Volker Enderlein wrote:
> Hi David,
>
> Boost changed its naming scheme starting from version 1.66. So its
> not
> your fault but the FindBoost.cmake does not know how to handle the
> new
> scheme. Try to use one of the 3.11.0-rc[1-3] versions that has the
>
Hello,
I'm currently experimenting Android development with CMake without using
gradle, Android Studio, ant or anything else.
The idea is to use Android's sdk-tools only (aapt, dx, zipalign, apksigner).
The process isn't that hard but consists of several steps. The only real
question is how
Le 16/10/2018 à 23:04, Frank Tocci a écrit :
Hello,
I am trying to install Cmake and I am running into an error when I
enter the install directory and run
sudo ./bootstrap && make && make install
as specified in the README file
Hello,
You're not supposed to do sudo bootstrap. You should
Le 20/11/2018 à 17:03, Harry Mallon a écrit :
Hi,
FindGTK and FindGTK2 exist in the CMake tree. How come there isn't one for
GTK3? Should the GTK2 one work, or is there another way?
GNOME people don't like CMake (they use meson). The philosophy behind
CMake is to let upstream projects
Le 21/11/2018 à 10:19, Jan Wielemaker a écrit :
Good. I was already considering providing a cmake file after migrating
SWI-Prolog to cmake. Are there good guidelines for this? Pkg-config asks
for providing a .pc file and installing in a well-known place. Is there
a similar place for project
Le 21/06/2019 à 15:19, David Aldrich a écrit :
I now want to support separate target directories: build/debug and
build/release. I've shown my CMakeLists.txt below. So far I've just
added an attempt to support build/debug:
if (CMAKE_BUILD_TYPE EQUAL "DEBUG")
message("debug mode")
Le 21/06/2019 à 15:42, David Aldrich a écrit :
Do never test CMAKE_BUILD_TYPE in CMakeLists.txt files, it is
ignored in
multiple generators (e.g. Visual Studio).
Does that mean I shouldn't have this in CMakeLists.txt? :
# Specify a Release build by default
if(NOT CMAKE_BUILD_TYPE)
41 matches
Mail list logo