Then I tried to be explicit about it
set(CMAKE_REQUIRED_INCLUDES /usr/include/lustre)
Still no avail. If I check any other header file in that directory, say
"sys/io.h", it will work as expected. I am puzzled ... anything I missed?
Thanks
--
Oliver
--
Powered by www.kitware.com
n still control logging
through env settings")
message(STATUS "GLOG_logtostderr=1 ./your_application")
else()
message(STATUS "gflags is present, you can controll logging through
command line:")
message(STATUS "./your_application --logtostderr=1")
e
oh, no, silly me, I didn't.
that fixed the problem.
thx
Feiyi
On Wed, Mar 22, 2017 at 10:08 AM, Nils Gladitz
wrote:
> On 22.03.2017 14:52, Oliver wrote:
>
>> hi all,
>>
>> I am running cmake 3 using EPEL install on RHEL 7. I also have installed
>> "gfla
rs or warnings, but the generated
solution does not contain anything like solution folders.
What could be my problem?
Bye,
Oliver
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Am 18.03.2011 18:31, schrieb Robert Bielik:
> Hi Oliver,
>
> I use this feature and only thing that differs for me is that I do:
>
> SET_TARGET_PROPERTIES(
> myCore
> PROPERTIES
> FOLDER "Core"
> )
>
> Hope that helps,
> /Rob
> ___
Am 18.03.2011 18:51, schrieb David Cole:
> On Fri, Mar 18, 2011 at 1:15 PM, Oliver Buchtala
> wrote:
>> Hello,
>>
>> I have problems using the project folder feature described in the
>> documentation for CMake 2.8.4
>> (http://www.cmake.org/cmake/help/cmake-2
unfortunately UseJNI prefers the Windows-Registry entries above all
other search paths.
Did I miss something?
Shall I file an issue?
Oliver
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource
Am 05.04.2011 13:12, schrieb Oliver Buchtala:
Hello,
I am working with CMake 2.8 and using UseJNI.cmake
I have a JDK installed locally (registered in Win-Registry) but want
to configure a project to use a different JDK lying on my disk.
Looking at UseJNI.cmake I find that the environment
Am 05.04.2011 16:33, schrieb David Cole:
On Tue, Apr 5, 2011 at 7:16 AM, Oliver Buchtala
mailto:oliver.bucht...@jku.at>> wrote:
Am 05.04.2011 13:12, schrieb Oliver Buchtala:
Hello,
I am working with CMake 2.8 and using UseJNI.cmake
I have a JDK installed l
Am 05.04.2011 17:11, schrieb Oliver Buchtala:
Am 05.04.2011 16:33, schrieb David Cole:
On Tue, Apr 5, 2011 at 7:16 AM, Oliver Buchtala
mailto:oliver.bucht...@jku.at>> wrote:
Am 05.04.2011 13:12, schrieb Oliver Buchtala:
Hello,
I am working with CMake 2.8 and
Hi,
I observe that a custom command attached to a custom target as
POST-BUILD is launched on every build.
Is that true? or is it a misconfiguration on my side?
Bye,
Oliver
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
Am 15.04.2011 23:48, schrieb Michael Hertling:
> On 04/15/2011 11:22 PM, Oliver Buchtala wrote:
>> Hi,
>>
>> I observe that a custom command attached to a custom target as
>> POST-BUILD is launched on every build.
>> Is that true? or is it a misconfiguration on
Am 18.04.2011 06:58, schrieb Michael Hertling:
> On 04/16/2011 12:05 AM, Oliver Buchtala wrote:
>> Am 15.04.2011 23:48, schrieb Michael Hertling:
>>> On 04/15/2011 11:22 PM, Oliver Buchtala wrote:
>>>> Hi,
>>>>
>>>> I observe that a custom com
Am 19.04.2011 16:10, schrieb David Cole:
> On Mon, Apr 18, 2011 at 11:22 PM, Michael Hertling
> mailto:mhertl...@online.de>> wrote:
>
> On 04/19/2011 02:17 AM, Oliver Buchtala wrote:
> > Am 18.04.2011 06:58, schrieb Michael Hertling:
> >> On 04/16/201
On systems that support it, I'm wanting to do the equivalent of:
$(CC) -pipe source1.cpp source2.cpp source3.cpp -fwhole-program
I can't figure out how to tell CMake to pass multiple sources to the
compiler at once.
(Using versions 2.6 and 2.8)
add_target(server
${Project_SOURCE_DIR}/src/serverMain.cpp
${Project_SOURCE_DIR}/src/serverEngine.cpp
${Project_SOURCE_DIR}/src/common-depends.cpp
${Project_SOURCE_DIR}/src/serverDatabase.cpp
)
set_property(TARGET server PROPERTY COMPILE_DEFINITIONS PROJ_SERVER
PROJ_D
on for adding a precompiled header to each
target (for my limited subset of platforms).
- Oliver
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep m
led header CMake include, but that just
confused the bejeezus out of me, not helped by the fact that it didn't
work :)
- Oliver
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensour
On 3/6/2010 6:39 PM, Oliver Smith wrote:
I want to add a target (a gcc precompiled header) as a dependency for
every target so it'll get compiled with the flags for that particular
target, including altering the resulting file name.
I should say: /automatically/ add... I don't want t
add_custom_command(${target} PRE_BUILD COMMAND
"ln -s ${pchname} ${PrecompiledHeader}"
"g++ ${defines} ${flags} -o ${pchname}.gch ${pchname}")
)
endforeach ()
Marked in bold is the part I'm struggling with.
- Oliver
_
When you tell CMake under Linux to use ICC, there's no automatic
detection of the custom archiver and linker that ICC requires. The
following lines fix that, but would it be possible to add them to the
stock CMake files someplace so that using ICC becomes slightly more
transparent?
#
I would like the following [pseudo] CMake package to create a
"Solution.sln" in ${CMAKE_BINARY_DIR} and put the .vcproj files in
${CMAKE_BINARY_DIR}/${VCPROJ_DIR}
project (Solution)
add_library(library1 foo1.cpp)
# ...
add_library(library9 foo9.cpp)
add_executable(target1 ta
ove the default auto-connection behavior to
"sort of make it go away".
Thus far, I've gotten better support out of the CMake developers than I
have from several commercial software providers, including Intel.
- Oliver
___
Powered by www.ki
... it will have to relink the executables the second time
because of an pointless upversion :)
- Oliver
--
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:
My CMakeLists uses the Subversion repository information in a couple of
places (it configures a file revision.h and it uses it for the CPack
package name).
The problem is that this variable is cached and retained until the cache
is rebuilt, instead of being calculated or evaluated per make. So
the external projects again (take some time with BOOST).
Is there a solution to prevent an external project from cleaning when I
call 'make clean'?
Kind regards
Oliver Boesche
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/
Hi,
thanks. Its a tricky solution ;)
I think this behavior as a flag for ExternalProject_Add could be
interesting for some people.
Regards
Oliver
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep
o no end.
Is there not a cmake cookbook or recipie book someplace? I really don't
feel like figuring out, yet again, how to tell cmake "for every .xml
file in ${folder} run ${command} to produce ${output}.h"... :)
- Oliver
--
Powered by www.kitware.com
Visit other Ki
living example.
I appreciate your time looking for a solution for my issue, though :)
- Oliver
--
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
les?
The simplest and therefore easiest complete example I have is:
8x --- snip --- x8
add_library(ircclient SHARED libircclient/src/libircclient.c)
set_property(TARGET ircclient PROPERTY COMPILE_DEFINITIONS
IN_BUILDING_LIBIRC)
link_directories( ${Project_BINARY_DIR}/ircclient )
8x --- snip --
it's horribly platform
dependent. Surely there's a better way say "build it the same way you'd
build anything else in this directory"
- Oliver
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.htm
${CoreSrcFiles} ${ExtraSrcFiles})
but that's clumsy :)
- Oliver
--
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
my tree to a
"clean state"? Other than running "make clean" which I did do.
rm -rf CMakeCache* CMakeFiles*
- Oliver
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messag
Attached is a patch that will find the iconv library by testing to make
sure it exists by compiling a sample C file.
Thank you,
Steven N. Oliver
0001-Add-new-FindIconv-module.patch
Description: Binary data
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http
2007/11/27, Daniel Rueckert <[EMAIL PROTECTED]>:
> Hi,
>
> I am trying to build some statically linked executables on a linux
> box. I have added the "-static" option to the linker flags and specified
> static link libraries but for some reason cmake still adds the option
> "-Wl,-Bdynamic" flag to
2007/12/3, Bill Hoffman <[EMAIL PROTECTED]>:
> Oliver Dole wrote:
> > 2007/11/27, Daniel Rueckert <[EMAIL PROTECTED]>:
> >> Hi,
> >>
> >> I am trying to build some statically linked executables on a linux
> >> box. I have added the "
2007/12/3, Hendrik Sattler <[EMAIL PROTECTED]>:
> Quoting Oliver Dole <[EMAIL PROTECTED]>:
> > The problem is that I use pkg-config (and stuff like that) to retrieve
> > my libraries. So CMake does not know wether it is static or shared
> > libraries to use. None
Hello,
On 2/20/08, Robert Bielik <[EMAIL PROTECTED]> wrote:
> I have a structure where I include all subdirs via FILE(GLOB.. and FOREACH
> and within each subdir CMakeLists.txt I want to add a path to be used with
> INCLUDE_DIRECTORIES in the main CMakeLists.txt
>
> I tried SET(INCL_DIRS ${INCL_DI
Hello,
On 2/21/08, Vandenbroucke Sander <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to pass a variable to CMakeLists.txt's in sub directories:
>
> Top directory CMakeLists.txt:
> set( VAR1 "" )
> add_subdirectory (subdir1)
> add_subdirectory (subdir2)
>
> Each subdir CMakeLists.txt:
>
> ...
Hello,
On 2/25/08, packadal <[EMAIL PROTECTED]> wrote:
> Hi, I searched for an answer to this question in vain, so I'm asking here.
>
> I am trying to build a library wich is spead among many subdirectories using
> CMake, but I can't seem to do it "the Right Way".
>
> Looks like the right way to d
Hello,
I have a link problem with cmake on Linux.
I work on owb, a webkit based browser, which uses cmake as build
system. Here is how my cmake system works:
- build balwtf.a, kjs.a and webcore.a
- build libwebkit.so which requires balwtf.a, kjs.a and webcore.a
- then I build owb.
>From my point o
On 10/5/08, Alexander Neundorf <[EMAIL PROTECTED]> wrote:
> On Sunday 05 October 2008, Oliver Dole wrote:
> > Hello,
> >
> > I have a link problem with cmake on Linux.
> > I work on owb, a webkit based browser, which uses cmake as build
> > sy
:
FIND_LIBRARY(NAMES test.a HINTS /usr/local/lib)
Is this a known bug (that's only prevalent on Cygwin)? To solve my problem
with FindBoost, I had to manually add in the ".a" into the FIND_LIBRARY
command.
Thanks,
Oliver
___
CMake mai
Hello,
i cant find any workaround for compiling cmake under solaris 10.
I just saw threads or mails to the list regarding my problem compiling
cmake on solaris 10 where there is the problem with the static linked
library. (libcmsys.a)
I´d be open for any solution.
Regards
Oliver
--
Oliver
on
the web page anything is said about which package
to use when (just "follow the instructions", but there
are none). I couldn't make good use of the search functions
for the e-mail lists neither (always end up with some
google search).
Any hint would be appreciated.
Thanks
O
ibility for subtle bugs.)
Finally, it somehow seems to us that the conception of cmake is not really that
of a powerful extension of make, but more of a convenient "user-interface", with
the typical trade-off: What the user-interface does, it does convenient and
well,
but what it not does
ot;install tree",
but a more complex system for all the different types of files) pays off:
I can easily remove for example the dependency-files for one submodule or
for a sub-sub-module, or for the whole library, or I can inspect them ---
and actually from time to time it's needed.
Bu
Hello,
You will find as an attachment a dummy cmake module which automates
SDL_GFX detection as it is already done for SDL_ttf, SDL_image...
This module is in fact a copy and paste with of course modifications
of SDL_image module done by Eric Wing.
Note that I have only tested it on Linux... So if
group issue is the last thing, i need to get around it.
Thanks for help!
Best regards,
Oliver--
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
group issue is the last thing, i need to get around it.
Thanks for help!
Best regards,
Oliver--
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
dynamicly
choose which toolchain i want to have – would be great for Compiler / unit
Tests as well.
Perhaps someone has a better idea to do this or even i using such a System and
give me a hint?
Thanks a lot!
Best regards,
Oliver
--
Powered by www.kitware.com
Please keep messages on
s" that handles this stuff that i'm not aware of?
Gesendet: Dienstag, 18. April 2017 um 00:23 Uhr
Von: "Craig Scott"
An: "Florent Castelli"
Cc: CMake , "Zabel, Oliver"
Betreff: Re: [CMake] Predownload
The top level build doesn't actually need
uot; instaed of "-I"?
Thanks for your help!
Best regards,
oliver--
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 offerin
Consider the following:
PROJECT(Mandatory)
SET(USING_SHAPE "" CACHE STRING "[Required] Shape config: Round or
Square")
SET_PROPERTY(CACHE USING_SHAPE PROPERTY STRINGS Round Square)
IF (NOT USING_SHAPE)
MESSAGE(FATAL_ERROR "'USING_SHAPE' variable is required but was not
set.
Hi,
No one any idea?
Thanks!
--
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 visit:
CMake Support: htt
Hi,
Thank you. There is unfortunately not the right toolchain there - according
my question I do have my toolchain Running - but with a custom command and
I would like to know whether there is a better way.
Cheers!
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMa
Hi,
Sorry - I don’t get the hint :) thanks, I will look into it!
Cheers!
Oliver
--
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
7 13:42
Betreff:Re: [CMake] Toolchain with non-gcc argument format
Gesendet von: "CMake"
Hi,
Sorry - I don’t get the hint :) thanks, I will look into it!
Cheers!
Oliver
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.
> Betreff:
> Re: [CMake]
> Toolchain with non-gcc argument format
>
> Gesendet von:
> "CMake"
>
>
> Hi,
>
> Sorry - I don’t get the hint :) thanks, I will look into it!
>
> Cheers!
>
> Oliver
>
> --
>
> Powered by www.kitwar
karev"
>
>
> Kopie:
> CMake users
>
> Datum:
> 14.11.2017 13:42
>
> Betreff:
> Re: [CMake]
> Toolchain with non-gcc argument format
>
> Gesendet von:
> "CMake"
>
>
> Hi,
>
> Sorry - I don’t get the hint :) thanks, I will look in
Hi Eric,
thanks a lot for your help! i'm going to try it on the dev mailing list.
Cheers,
Oliver
Von:Eric Noulard
An: oliver.za...@egoproducts.com
Kopie: CMake Mailinglist
Datum: 22.11.2017 09:49
Betreff:Re: Re: [CMake] Antwort: Antwort: Re:Antwort: Re:
Toolchain
d linked (and I know its the right libs because things also
run).
Is this a bug or is there something I don't understand about
NO_DEFAULT_PATH?
Thanks,
Oliver
PS: I know the hard coded full path names are odd - the CMakeLists.txt
files are actually generated -- it's a long story.
--
P
In case anyone else hits this, I figured it out. The issue was that our
toolchain file specified "CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY" which
meant it was ignoring our PATH list. Changing it to
"CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH" solved the issue.
On Mon, Mar 26, 20
Checked the faq and googled as much as I could but I couldn't find
anything describing how to make visual studio include header files in
the solution/project files?
- Oliver
___
Powered by www.kitware.com
Visit other Kitware open-source projec
So, the question is actually:
Is there a way to have CMake automatically add included headers to
visual studio project files or do you need to use a dependency system to
generate the lists by hand?
- Oliver
___
Powered by www.kitware.com
Visit other
irectory).
So importing "*/*.{h,hh,hpp}" into the CMakeLists file is nonsensical.
What I was hoping to achieve was a "Header Files" folder along side each
"Source Files" folder so that the headers were pertinent to any given
project withi
Michael Hertling said the following on 11/6/2010 7:39 AM:
stored in the ${CMAKE_BINARY_DIR}/filelist.dat script as an assignment
to the variable FILELIST. Subsequently, this filelist.dat is read via
INCLUDE(), so CMake keeps track of it, i.e. changing the filelist.dat
results in a rebuild. Finall
y lists. If we had to do that with
CMake, well I doubt we'd be having this conversation in the first place
because we probably wouldn't be /using/ CMake.
So I don't understand why you would feel differently about having those
lists automatically transcribed to the resultant IDE
Michael Hertling said the following on 11/11/2010 5:23 AM:
Clearly, the downside is the usage of an external dependency scanner.
Yep, but radically better than having to try and manually
duplicate/recreate/maintain the dependency list :)
Thank you for your posts :)
- Oliver
dency list from a particular file (or target) should be
the way to go.
Yep, I was thinking the same. I'll look at writing a feature request, as
you suggest :)
- Oliver
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
ht
| +- Sources
| +- Target 2
| | +- Sources
| +- Target 3
| | +- Sources
...
Caveat: a header may appear under more than one target for a given
CMakeLists/solution/cbp file, but that's ok.
- Oliver
___
Powered by www.kitware.com
Visit other Kitwa
with per-target
dependency-generated header lists ... It becomes worth it.
- Oliver
___
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
Is it possible to create visual studio/msbuild projects under Linux? (It
would ease the flow of our automation chain, and it'd be handy for
working with MonoDevelop).
- Oliver
___
Powered by www.kitware.com
Visit other Kitware open-source pro
argets, so before I do go add
it one at a time, I just want to be sure I'm not missing some mechanism
for saying "add a variation of this to all targets" or "add a variation
of this to this list of targets".
- Oliver
rget}_SOURCE_FILES} ...)
Hmm - I didn't know you could do that, so I've been doing everything
project relative, but then the size of this project and the number of
sub-targets, and the huge amount of shared code between targets means
that things aren't re
Michael Wild said the following on 3/8/2010 1:35 PM:
What I did is define custom functions that wrap add_executable, add_library and
target_link_libraries. Works like a charm ;-)
*DUH!* Thank you :)
- Oliver
___
Powered by www.kitware.com
I realize not every build environment supports the option, but is there
a way to get CMake to generate Makefiles which aggregate source files, e.g.
$ g++ -pipe -o library.a lib1.cpp lib2.cpp lib3.cpp
$ g++ -pipe -o exeutable file1.cpp file2.cpp file3.cpp library.a
- Oliver
--
Powered by
ondering if there is a way to query other repository
attributes - specifically the URL - I'd like to build installers named
...
e.g.
my-client.baseline.57721.deb
or
my-server.branches.1.35.57804.tbz2
Any pointers?
- Oliver
--
Powered by www.kitware.com
Visit oth
John Drescher said the following on 2/2/2012 3:36 PM:
Cmake has support for pulling the svn and I believe git revs using
cmake modules. Here is what I do for svn
Much appreciated -- I just didn't think to look in the "Find" package,
duly noted for future reference.
- Oliver
Oliver kfsone Smith said the following on 2/2/2012 4:17 PM:
John Drescher said the following on 2/2/2012 3:36 PM:
Cmake has support for pulling the svn and I believe git revs using
cmake modules. Here is what I do for svn
Much appreciated -- I just didn't think to look in the "Fin
AME "servers")
SET(CPACK_PACKAGE_VENDOR "Cornered Rat Software")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Game servers")
SET(CPACK_PACKAGE_DESCRIPTION "'Game servers and tools.")
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Oliver Smith")
SE
Alexander Neundorf said the following on 2/6/2012 3:56 PM:
Would it be acceptable if cmake would rerun after every build ?
You could enforce that e.g. with a add_custom_command( POST_BUILD ... ) which
could e.g. touch CMakeCache.txt or something.
Better ideas ?
We're working in a client/server
Michael Hertling said the following on 2/6/2012 6:39 PM:
On 02/06/2012 10:56 PM, Alexander Neundorf wrote:
On Saturday 04 February 2012, Oliver Smith wrote:
My CMakeLists uses the Subversion repository information in a couple of
places (it configures a file revision.h and it uses it for the
I have test and package configurations on my project, I want:
cmake .
make package
to run force injection of the "test" target prior to building the
package target.
Can it be done? How? :)
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitwar
int in the conversion; there are actually several other
module-libraries which it compiles both into the full libevent lib and
as stand-alone modules to allow end-users to be choosy about which
components they require.
- Oliver
--
Powered by www.kitware.com
Visit other Kitware open-source p
files, warning that it is usually an error in the CMakeLists.txt
file.
- Oliver
--
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/CMak
ON
SSE3 OFF
PACKAGE_FORMAT "RPM"
)
Another advantage of this is that the GUI/CCMake could use these to
build a drop-down list of "VARIANT" settings, and CMake itself could
ascertain that "-DVARIANT=Intrenal" (typo
87 matches
Mail list logo