hi
is there a mactro for cpp ?
Regards,
S.Ancelot
--
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. For more
information on each offering, please
Le 04/06/2018 à 10:16, Eric Noulard a écrit :
Le lun. 4 juin 2018 à 09:59, Stéphane Ancelot
mailto:sance...@numalliance.com>> a écrit :
hi
is there a mactro for cpp ?
You mean a CMake variable which would contain the path to C
preprocessor binary?
I don't think so, a
Hi,
I am trying to migrate an existing Makefile to cmake that is using node-gyp.
I have had a binding.gyp file that would need being generated with the
libraries paths aqnd include paths. The problem is that I don't know how
to do this.
The final binding.gyp file should look as follow :
Hi,
I have got some win32 libraries dependencies stored in a project .
Then I added ExternalProject_Add at beginning of my cmakelists file in
order to clone this dependency to be available.
and then provide the root path as follow:
SET(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc
You probably need to manually add a dependency from your
ExternalProject to your target that needs the libraries.
For instance
ExternalProject_Add(fetch_win32_libs ...)
add_library(your_other_target ...)
Greetings
Kai Wolf
http://kai-wolf.me/
kai.w...@gmail.com <mailto:kai.w...@gmail.com>
Hi,
I have got a master CMake file that includes subprojects as follow :
add_subdirectory(proj1)
add_subdirectory(proj2)
src+proj1
+proj2
The main problem is that I can run make install in each project
directory, but not from the top CMake directory in src dir
how to propagate
Le 31/08/2018 à 16:31, Eric Noulard a écrit :
Le ven. 31 août 2018 à 15:59, Stéphane Ancelot
mailto:sance...@numalliance.com>> a écrit :
I ended with :
add_custom_target(combined ALL
COMMAND ${CMAKE_AR} rc libcombined.a $
$)
Quick & dirty :-)
There is
want.
Le ven. 31 août 2018 à 15:17, Stéphane Ancelot
mailto:sance...@numalliance.com>> a écrit :
Hi,
I have got some static libraries generated, that I would like to
put in
a common one.
how can I proceed ?
Regards,
S.Ancelot
--
P
Hi,
In one project I need to compile with -O2 option , how to set it and
remove -O3 -DNDEBUG flags for this project ?
Regards,
Steph
--
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
Hi,
I have got some static libraries generated, that I would like to put in
a common one.
how can I proceed ?
Regards,
S.Ancelot
--
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
Hi,
My project needs being compiled for different targets : win32 (linux
mingw32) / linux64 (Opensuse 13.2) / linux32 (Ubuntu 10.04)
using toolchain is the right option isn't it ???
some people told me it was deprecated ?
Regards,
S.Ancelot
--
Powered by www.kitware.com
Please keep
Hi,
I have not found how to add -fPIC link flag to a SWIG module.
Regards
S.Ancelot
--
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. For more
Le 23/03/2018 à 17:18, Stéphane Ancelot a écrit :
Hi,
I have an experimental Bullet package I would like to use, but I don't
manage to override the system CMAKE_MODULE_PATH for bullet to use the
new one.
I tried using
ExternalProject_Add (Bullet SOURCE_DIR "bullet3/build_
Hi,
I have an experimental Bullet package I would like to use, but I don't
manage to override the system CMAKE_MODULE_PATH for bullet to use the
new one.
I tried using
ExternalProject_Add (Bullet SOURCE_DIR "bullet3/build_cmake")
but this does not seem the RIGHT way...
Overriding
Hi,
I need some external libraries in my project (eg a particular version of
qt..)
These external projects have been cloned locally , I could use
ExternalProject_Add to clone it in my project.
My major problem is that I will compile it each time and this is time
and disk usage consuming,
found:that was because of a project that was not compiling
Le 26/02/2018 à 09:52, Stéphane Ancelot a écrit :
Hi,
I have got a master CMake file that includes subprojects as follow :
add_subdirectory(proj1)
add_subdirectory(proj2)
src+proj1
+proj2
The main problem is that I can
Hi,
I have to package some jar files in the final jar.
I can compile it with add_jar specifying INCLUDE_JARS but unfortunately,
they are not added to the final target jarfile
Regards
S.Ancelot
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
oct. 2018 à 10:16, Stéphane Ancelot
mailto:sance...@numalliance.com>> a écrit :
Hi,
If I set java_home in cmake 3.12 , Java_JAVAC_EXECUTABLE is not
using my
java_home env but /usr/bin/javac
what is wrong ?
Regards,
S.Ancelot
--
P
Hi,
If I set java_home in cmake 3.12 , Java_JAVAC_EXECUTABLE is not using my
java_home env but /usr/bin/javac
what is wrong ?
Regards,
S.Ancelot
--
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
nov. 2018 à 14:06, Stéphane Ancelot
mailto:sance...@numalliance.com>> a écrit :
Hi,
My system is 64 bits but I can cross compile python c modules for
32 bits .
Unfortunately I don't manage to retrieve python 32 libs , always
the 64
bits version is found.
Hi,
My system is 64 bits but I can cross compile python c modules for 32 bits .
Unfortunately I don't manage to retrieve python 32 libs , always the 64
bits version is found.
here is what I tried :
cmake_minimum_required(VERSION 3.10)
project(py_autom)
set(CMAKE_SYSTEM_PROCESSOR "i686")
Hi,
Noisy, Unfortunately, at this time, there is only a table of contents .
Regards,
S.Ancelot
Le 27/09/2018 à 20:26, Eric Noulard a écrit :
Hi CMakers,
Hi try not do that too often but here comes a little promotion for a
book which (I think) deserve attention.
The CMake Cookbook by
Congratulations. Really a great work.
Le 31/08/2018 à 20:33, Bill Hoffman a écrit :
http://public.kitware.com/pipermail/insight-developers/2000-August/024248.html
Thanks to everyone that has contributed or used CMake!
-Bill
--
Powered by www.kitware.com
Please keep messages
Hi,
I have got some problems finding packages under windows platform.
I made a toolchain for VSCode and cmake 3.13 , but I don't understand
why it fails to find almost all of my packages dependencies
It is not able to find packages in the CMAKE_FIND_ROOT_PATH itself.
If I try setting
Hi,
I made an exported package for a library that needs linking qt5.
find_package() works to find my library , however, I don't know how to
handle the linking of external libs needed by this package.
I suppose that must be managed inside the exported package, by which way ?
Regards,
Hi,
are there any specific Cmake configurations to setup in projects when
using fetchcontent.
I am able to fetch and build a library but not able to link and include
files of this library in another projects.
include(FetchContent)
FetchContent_Declare(
jconcpp
GIT_REPOSITORY
Hi,
Is there a way to find qmake path of a custom setup in order using it an
add_custom_command
my QT5 path is available in CMAKE_PREFIX_PATH.
Regards,,
S.Ancelot
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
I solved it using
|get_target_property (QT_QMAKE_EXECUTABLE Qt5::qmake IMPORTED_LOCATION)|
Le 03/09/2019 à 15:05, Stéphane Ancelot a écrit :
Hi,
Is there a way to find qmake path of a custom setup in order using it
an add_custom_command
my QT5 path is available in CMAKE_PREFIX_PATH
Hi,
using mingw32 with win10 , I can not manage to find jpeg libs .
I tried setting JPEG_DIR, it fails.
it also fails setting CMAKE_FIND_ROOT_PATH
set(JPEG_DIR c:\\work\\WIN32DEPS\\jpegfolder)
find_path(JPEG_INCLUDE_DIR jpeglib.h) fails
find_package(JPEG ) fails
what is the right way to
hi,
i used fetch_content to download bullet library , but I cant use it.
FetchContent_Declare(
bullet
GIT_REPOSITORY https://github.com/bulletphysics/bullet3.git
GIT_TAG 2.88
)
FetchContent_GetProperties(bullet)
if(NOT bullet_POPULATED)
FetchContent_Populate(bullet)
Hi,
I am using this cmake snippet in order to build an external library
# -- QGLViewer --
set(QGLVIEWER_FILES
${CMAKE_BINARY_DIR}/libQGLViewer-2.7.1/QGLViewer/qglviewer.h)
get_target_property (QT_QMAKE_EXECUTABLE Qt5::qmake IMPORTED_LOCATION)
add_custom_command(OUTPUT
Hi,
That first depends on which compiler you will use ?
Regards,
S.Ancelot
Le 16/09/2019 à 22:32, Joao Pedro Abreu De Souza a écrit :
Hi guys. I am trying to generate,using cmake, a executable with target
Windows 32 bits using Windows 64 bits, but cannot find a standard
toolchain file (I
Hi,
I have a particular target (using swig / jni) that must not have -O3
-NDEBUG flags from Relase build type
How can I overload this target flags ?
Regards,
S.Ancelot
--
Powered by kitware.com/cmake
Kitware offers various services to support the CMake community. For more
information
Hi,
I have got some problems finding cdk lib in my debian system
I used find_library without success
libcdk can be found in /usr/lib/x86_64-linux-gnu/
and cdk in include system path cdk/cdk.h
Regards,
S.Ancelot
--
Powered by www.kitware.com
Please keep messages on-topic and check the
Hi,
Migrating a code to msys2 compilation (cmake inside msys ), it does not
find an include file for unknwon reason.
the file is located in a project defined as follow:
cmake_minimum_required(VERSION 3.10)
project(include_commun)
add_library(include_commun INTERFACE)
Hi,
I am trying to use a third party library
(https://github.com/zaphoyd/websocketpp)
It exports a Config.cmake file when building , but I want to use it from
my workspace in which I cloned it .
I tried using find_package(websocketpp CONFIG), but cmake replies
websocketpp_DIR not found.
36 matches
Mail list logo