Re: [CMake] CMake GUI "Stop" button does not halt exec_process

2019-01-11 Thread Chris Wilson
In case it helps, Box Backup uses Windows Job Objects to ensure that any daemons started during a test will automatically be killed when the test process exits (if not stopped cleanly beforehand): https://gi

[CMake] How to "unescape" CXXFLAGS option using CMake 3.12.3

2018-10-31 Thread Chris Rankin
" OFF please? All I need is for CMake to write the given command verbatim! Thanks for any help here, Cheers, Chris P.S. This is for a large build with lots and lots of subdirectories, and so adding this option to CXXFLAGS would be by far the simplest solution - despite what CMake seems to thin

[CMake] Fwd: ExternalProject, continuous integration and caching builds

2018-09-05 Thread Chris Wilson
ild directory. This cuts about 10 minutes off our normal build time for each configuration on AppVeyor (80 minutes total per commit tested, with 8 different configurations). But it does make local superbuilds a bit more tricky, as described in the comments: we often have to rerun CMake to use previ

[CMake] Fwd: Boost + CMake + Windows + Sanity -> Possible?

2018-08-08 Thread Chris Wilson
_ARGS} INSTALL_COMMAND ${CMAKE_COMMAND} -E echo "No install step needed" STEP_TARGETS configure build ) Having set BOOST_ROOT, FindBoost should just work. In this case, I didn't need to compile any of Boost, only its headers, but if you do need to, then you can change its CONFIGURE_CO

Re: [CMake] Is there a way to obtain the current compiler standard flag?

2018-06-01 Thread Chris Green
}>>>>>") begets: First parameter to $ must resolve to exactly one '0' or '1' value. I'm all out of ideas. Any new ones would be appreciated. Thanks, Chris. On 6/1/18 3:00 PM, Chris Green wrote: Hi, I was hoping this would work: $,${CMAKE_CXX$_EXTE

Re: [CMake] Is there a way to obtain the current compiler standard flag?

2018-06-01 Thread Chris Green
ifically for 98, 11, 14, 17, 20, etc? Thanks, Chris. On 6/1/18 8:27 AM, Chris Green wrote: Hi, I'll give this a shot, thank you. Ideally we'd have a generator expression pick up ${std} from the relevant target property, but I'll have to play with that since I'm not fa

Re: [CMake] Is there a way to obtain the current compiler standard flag?

2018-06-01 Thread Chris Green
Hi, I'll give this a shot, thank you. Ideally we'd have a generator expression pick up ${std} from the relevant target property, but I'll have to play with that since I'm not familiar enough with generator expressions to know /a priori/ how this will turn out. Thanks f

[CMake] Is there a way to obtain the current compiler standard flag?

2018-05-29 Thread Chris Green
be able to pass it to the command as already calculated by CMake, perhaps via a generator expression. Is there some way to do this already that I missed, or would this be an enhancement? Thanks, Chris. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

[CMake] Custom Command OUTPUTs to understand geenrator expressions?

2017-11-01 Thread Chris Green
fails to work as of CMake 3.9.2. Is this something which is reasonable to want and/or easy to do. Is there some other way to have the desired flexibility? Thanks for any help, Chris. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org

Re: [CMake] Help: erroneous '-ltbb' getting injected into link command implicitly

2017-10-16 Thread Chris Green
On 10/16/17 4:55 AM, Ben Morgan wrote: Hi Chris, Is “tbb” used as a target name and direct link anywhere? e.g. Ding ding! Found it late Friday, thanks: I was fooled by previous experience into thinking that CMake was translating an external package's dependency on TBB from the explicit

Re: [CMake] Help: erroneous '-ltbb' getting injected into link command implicitly

2017-10-13 Thread Chris Green
On 10/13/17 3:06 AM, Luis Caro Campos wrote: Hi Chris, Are you, by any chance, using (via find_package), another library that may have been built with tbb support? We using libraries from another package that depends on them, but I didn't think we were using CMake mechanisms to find

[CMake] Help: erroneous '-ltbb' getting injected into link command implicitly

2017-10-12 Thread Chris Green
wasn't explicitly put there by the target_link_libraries() command, and that turns out to be superfluous. Any help in this matter would be gratefully received, because too much of this is currently a black box to me and I'm lost. Thanks, Chris. -- Powered by www.kitware.com Please keep messag

Re: [CMake] Building with cmake 3.6.2 need 3.7.2 or newer!!

2017-04-24 Thread Chris Russo
On 4/24/2017 3:56 PM, Chris Russo wrote: Greetings- Well this should be simple right? I have Windows 10 64 bit. Visual Studio Community 2015. It shows that my version on a certain build is cmake 3.6.2. I have tried to download the latest and greatest set the path and no luck. where is

[CMake] Building with cmake 3.6.2 need 3.7.2 or newer!!

2017-04-24 Thread Chris Russo
now what I mean. LOL!! Thanks in advance. Any help would be greatly appreciated. If you want to see where is, or which from Git Bash Shell I will be mre than happy to provide it. Regards- Chris Russo -- Powered by www.kitware.com Please keep messages on-topic and check the CMak

[CMake] Cross project include/link pathing?

2017-02-09 Thread Chris Johnson
ke ." is run on some individual project's source code, when those paths will be outside the current tree, i.e. elsewhere? ..chris -- 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

[CMake] Add CXX dependency generation to custom command for Ninja?

2017-01-10 Thread Chris Green
MAND} IMPLICIT_DEPENDS CXX ${CMAKE_CURRENT_SOURCE_DIR}/classes.h DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/classes_def.xml COMMENT "Generating dictionary files for target ${dictname}" ) Many thanks, Chris. -- Chris Green , FNAL CS/SCD/ADSS/SSI/TAC; 'phone (630) 840-2167; Skype: chris.h.green

Re: [CMake] Install destination problem

2016-12-28 Thread Chris Johnson
gt; > Kris > > > > *From:* CMake [mailto:cmake-boun...@cmake.org] *On Behalf Of *Chris > Johnson > *Sent:* 27 December 2016 23:27 > *To:* cmake@cmake.org > *Subject:* [CMake] Install destination problem > > > > In all of my CMakeLists.txt files,

[CMake] Install destination problem

2016-12-27 Thread Chris Johnson
In all of my CMakeLists.txt files, I include a settings file, like so: include(global_settings.cmake) Inside global_settings.cmake, I have a line like this: set( CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/install ) When I run "make install" on my development system, the files are correctly instal

[CMake] DragNDrag hdiutil debug help

2016-10-18 Thread Cralle, Chris
/DragNDrop/temp.dmg" cmCPackDragNDropGenerator.cxx:430 Error generating temporary disk image. cmCPackGenerator.cxx:973 Problem compressing the directory cpack.cxx:391 Error when generating package: newpackagexxx Any tips or clues greatly appreciated Chris Cralle -- Powered by www.kitware.com

Re: [CMake] Cmake cannot locate header file that exists on my system

2016-03-19 Thread Chris Coutinho
y machines trilinos package, when mixing up relative and absolute paths: -I/usr/lib64/mpi/gcc/openmpi/lib64/cmake/Teuchos/../../../usr/lib64/mpi/gcc/openmpi/include/trilinos Thanks for the workaround! Cheers, Chris -Original Message- From: Andreas Naumann [mailto:andreas-na

[CMake] Cmake cannot locate header file that exists on my system

2016-03-19 Thread Chris Coutinho
sn't able to find the file. Can anyone help me with this installation issue? Kind regards, Chris Coutinho, EIT R&D Engineer REDstack, B.V. Pieter Zeemanstraat 6 8606 JR Sneek, The Netherlands work: +31 6 5785 mobile: +31 6 1689 0287 www.redstack.nl De informatie verzonden

[CMake] Problems with transitive dependencies

2015-12-07 Thread Chris Wilson
he INTERFACE_COMPILE_DEFINITIONS of the dependencies. But this doesn't appear to be happening, as far as I can tell. Nor is the "consumer compiled with -DUSING_ARCHIVE_LIB", contrary to the comment (at least it's not in the COMPILE_DEFINITIONS). Can anyone tell me what I'm d

Re: [CMake] add_test to support generator expressions?

2015-10-27 Thread Chris Green
s for the clarification, Chris. On 10/26/15 3:20 PM, Nils Gladitz wrote: On 26.10.2015 20:29, Chris Green wrote: Hi, I have a function cet_test(), which allows a user to specify the details of a test which will be executed via a wrapper, cet_exec_test. It calls the CMake add_test() macro t

Re: [CMake] add_test to support generator expressions?

2015-10-26 Thread Chris Green
Hi, I should add that I am using CMake 3.3.2. Sorry for the omission, Chris. On 10/26/15 2:29 PM, Chris Green wrote: Hi, I have a function cet_test(), which allows a user to specify the details of a test which will be executed via a wrapper, cet_exec_test. It calls the CMake add_test

[CMake] add_test to support generator expressions?

2015-10-26 Thread Chris Green
in this case, or does add_test() not support them? Is there something else I can do? Thanks for any help, Chris. -- Chris Green , FNAL CS/SCD/ADSS/SSI/TAC; -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware

Re: [CMake] Asking CMake to setup compiler for c++11

2015-10-21 Thread Chris Stankevitz
On Wed, Oct 21, 2015 at 2:18 PM, Craig Scott wrote: >> CMAKE_MINIMUM_REQUIRED(VERSION 3.1) >> SET(CMAKE_CXX_STANDARD 11) > http://crascit.com/2015/03/28/enabling-cxx11-in-cmake/ Dan, Craig: Thanks that's great news, Chris -- Powered by www.kitware.com Please keep message

[CMake] Asking CMake to setup compiler for c++11

2015-10-21 Thread Chris Stankevitz
Hi, Q: What is the "CMake way" to ask that the compiler be setup for c++11? FYI I could not find the answer at https://cmake.org/cmake/help/v3.4/search.html?q=c%2B%2B11 Thank you, Chris -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

[CMake] CMake way to achieve march=native

2015-10-21 Thread Chris Stankevitz
27;m just trying to get you to understand what I'm after is not just to slop together a command that happens to work today. But if the only way is to slop something together then that's okay too. Thank you, Chris -- Powered by www.kitware.com Please keep messages on-topic and check

[CMake] "Utility' targets with ninja generator?

2015-07-17 Thread Chris Green
grade to a more recent version easily if appropriate), or can there be (even if only with the new ninja 1.6.0)? My inability to find same is pretty much the only reason I haven't abandoned make in favor of ninja entirely. Thanks for any help, Chris. -- Chris Green , FNAL CS/SCD/ADSS/SS

Re: [CMake] Backup copy on install?

2015-06-10 Thread Chris Johnson
I find the implementation of the file() command? Could I possibly customize that implementation? Thanks much! ..chris On Tue, Jun 9, 2015 at 2:00 PM, Bill Hoffman wrote: > On 6/9/2015 1:56 PM, Chris Johnson wrote: > >> >> We do use a globally included set of CMake rules in all of our

[CMake] Backup copy on install?

2015-06-09 Thread Chris Johnson
hat could be added there, that would be sufficient. All suggestions welcome! Thanks, ..chris -- 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

[CMake] CMake ignores out-of-tree build path after having been run in the source directory?

2015-04-11 Thread Chris Smowton
re it every day, I didn't notice it for quite some time. Chris -- 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 offeri

Re: [CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Chris Green
On 3/20/15 2:10 PM, Nils Gladitz wrote: On 20.03.2015 19:41, Chris Green wrote: On 3/20/15 12:11 PM, Christopher H Green wrote: Indeed it might, thank you, but I believe I'm seeing the same behavior with ninja also. I can confirm that with CMake 3.2.1, the expected COMMENT is printed

Re: [CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Chris Green
tting this fixed in an upcoming version? Several of our users are trying out Ninja, and liking what they see so far. Thanks, Chris. Thanks, Chris. Sent from my cell. Original message From: Nils Gladitz Date:2015/03/20 11:57 (GMT-06:00) To: Christopher H Green ,cmake@cmak

[CMake] COMMENT ignored for POST_BUILD custom command?

2015-03-20 Thread Chris Green
The desired action does get carried out during a build as desired, but there is no screen output of COMMENT to herald the generation of the link. Thanks, Chris. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware

[CMake] Not hardcoding install dir in Config.cmake.

2015-02-08 Thread Chris Dembia
Hey all: I work on a project that is used heavily on Windows. Our project also creates a Config.cmake file. During build time, we do not know where the project will actually be installed on the user's system. However, the Config.file needs to know the installation directory of the package. Previou

Re: [CMake] target_link_libraries replacing fully-qualified library with -l

2015-01-30 Thread Chris Green
On 1/29/15 1:34 PM, Stephen Kelly wrote: Chris Green wrote: this library is found with find_library as part of a config.cmake file invoked as part of find_package() Consider reading http://www.cmake.org/cmake/help/v3.1/manual/cmake-packages.7.html at some point. find_library and

Re: [CMake] Generated files?

2015-01-30 Thread Chris Johnson
Ah, I found the problem. I had the output file listed in the custom command's DEPEND clause. Thank you very much for all the help! On Fri, Jan 30, 2015 at 11:07 AM, Chris Johnson wrote: > I'm trying to use the method outlined in your #2, with the list of files. > But I get cir

Re: [CMake] Generated files?

2015-01-30 Thread Chris Johnson
ab the list of files, as J Decker > suggests. The downside, as with any list of source files, is that CMake > will not know that it needs to re-run when you simply add a new file which > matches the glob. If you list the files explicitly, you have to edit the > CMakeList to add the

Re: [CMake] Generated files?

2015-01-30 Thread Chris Johnson
add_library() > > Other commands modify the buildsystem (e.g. add_definitions(), > target_link_libraries(), or setting properties such as COMPILE_OPTIONS), > but they don't really add "commands" to it. > > Petr > > > On Fri, Jan 30, 2015 at 3:27 PM, Chris Johnson >

Re: [CMake] Generated files?

2015-01-30 Thread Chris Johnson
pe for is to automate the creation of the brute-force solution. -- Cheers, ..chris On Fri, Jan 30, 2015 at 4:32 AM, Petr Kmoch wrote: > It's not clear to me what you mean with "run" time. There are the > following "times" involved in a CMake-based project: > > * Con

Re: [CMake] Generated files?

2015-01-29 Thread Chris Johnson
ever seen anything in the documentation which lists all of the commands which execute at configuration time, and which are executed at run time. Is there such documentation? A link to it would be great. On Thu, Jan 29, 2015 at 9:51 AM, Thompson, KT wrote: > Hi Chris, > > > > Why not

Re: [CMake] target_link_libraries replacing fully-qualified library with -l

2015-01-29 Thread Chris Green
Hi, On 1/29/15 11:11 AM, Alexander Neundorf wrote: just to make sure: you did check that the library directory is not part of LIBRARY_PATH ? Alex I have verified that the presence or absence of LIBRARY_PATH (or LD_LIBRARY_PATH) is irrelevant in the presence of a linker script. Best, Chris

Re: [CMake] target_link_libraries replacing fully-qualified library with -l

2015-01-29 Thread Chris Green
, though. Thanks, Chris. -- Chris Green , FNAL CS/SCD/ADSS/SSI/SSD; 'phone (630) 840-2167; Skype: chris.h.green; IM: gre...@jabber.fnal.gov, chissgreen (AIM, Yahoo), chi...@hotmail.com (MSNM), chris.h.green (Google Talk). -- Powered by www.kitware.com Please keep messages on-topic and check the

Re: [CMake] target_link_libraries replacing fully-qualified library with -l

2015-01-29 Thread Chris Green
I think we would be very happy. Should I put an entry in Mantis? Thanks, Chris. -- Chris Green , FNAL CS/SCD/ADSS/SSI/SSD; 'phone (630) 840-2167; Skype: chris.h.green; IM: gre...@jabber.fnal.gov, chissgreen (AIM, Yahoo), chi...@hotmail.com (MSNM), chris.h.green (Google Talk). -- Powered b

[CMake] Generated files?

2015-01-29 Thread Chris Johnson
BINARY_DIR}/file001.out DESTINATION share/docs) Listing all of the input files in my CMakeLists.txt file is not a problem, but it would be nice to avoid having to list the corresponding output files. How can I build a CMakeLists.txt file which will succinctly handle this situation? -- Thank

Re: [CMake] target_link_libraries replacing fully-qualified library with -l

2015-01-29 Thread Chris Green
On 1/29/15 7:41 AM, Brad King wrote: On 01/28/2015 03:12 PM, Chris Green wrote: target_link_libraries( /X/Y/libtbb.so) results in link.txt files containing -ltbb. This happens when the library is in an implicit link directory, or possibly when the library does not have an SONAME field set

[CMake] target_link_libraries replacing fully-qualified library with -l

2015-01-28 Thread Chris Green
not, can it be made possible to deactivate this behavior? Thanks for your help, Chris. -- Chris Green , FNAL CS/SCD/ADSS/SSI/SSD; 'phone (630) 840-2167; Skype: chris.h.green; IM: gre...@jabber.fnal.gov, chissgreen (AIM, Yahoo), chi...@hotmail.com (MSNM), chris.h.green (Google Tal

[CMake] Library include path question

2015-01-19 Thread Chris Johnson
need to learn to make this work more cleanly? Thanks, ..chris Most libraries correctly put their headers into ./include/ 39 # but CMake wants to look in the source or build dir, which doesn't have 40 # as a prefix. That prefix is used in the source files in 41 # their #include &q

Re: [CMake] Simultaneous makes?

2014-12-24 Thread Chris Johnson
build tree out-of-source, both compiles share the same CMakeCache.txt and CMakeFiles/*. This is not a case of "parallel" makes (-j N) started from one directory. Thanks, ..chris On Wed, Dec 24, 2014 at 10:22 AM, Rolf Eike Beer wrote: > Am Mittwoch, 24. Dezember 2014, 10:17:07 sch

[CMake] Simultaneous makes?

2014-12-24 Thread Chris Johnson
internal files. Is this a "don't do that" problem, or can CMake be used in a manner where it is smart enough not to step on its own toes? Thanks, ..chris -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

[CMake] PHP Composer

2014-12-24 Thread Chris Johnson
? Thanks, ..chris -- 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: http://cmake.org/cmake

Re: [CMake] Is this expected behavior?

2014-12-09 Thread Chris Johnson
s checked before the actual link. On Tue, Dec 9, 2014 at 10:25 AM, Bill Hoffman wrote: > On 12/9/2014 9:45 AM, Chris Johnson wrote: > >> Well of course it had to not be all that simple. My first attempt to >> create a simple (2 header files in library) example failed to fail in &

Re: [CMake] Is this expected behavior?

2014-12-09 Thread Chris Johnson
take a while. ..chris On Mon, Dec 8, 2014 at 8:06 PM, Bill Hoffman wrote: > On 12/8/2014 1:53 PM, Chris Johnson wrote: > >> When I change a header file for a library, and then do a "make" in the >> build directory, only source (C++) files which directly include tha

Re: [CMake] Is this expected behavior?

2014-12-08 Thread Chris Johnson
Thanks for the reply and good advice, Alan. Will do. ..chris On Mon, Dec 8, 2014 at 2:58 PM, Alan W. Irwin wrote: > On 2014-12-08 12:53-0600 Chris Johnson wrote: > > When I change a header file for a library, and then do a "make" in the >> build directory, only

[CMake] Is this expected behavior?

2014-12-08 Thread Chris Johnson
ior? Is there some way to change it to cause a "make" in the lib directory to compile all files dependent on the header, even if transitively (correct word?)? Thanks. This is really throwing our developers for a loop as we transition from home-grown make to CMake. ..chris -- Powered b

Re: [CMake] project directive overwrites CMAKE_INSTALL_PREFIX?

2014-12-05 Thread Chris Johnson
This looks like a bug to me. I have a very simple test case where CMAKE_INSTALL_PREFIX is set correctly if I do so after the project() statement, and fails to be set correctly if I do it before the project() statement. On Fri, Dec 5, 2014 at 2:06 PM, Chris Johnson wrote: > Strangely, runn

Re: [CMake] project directive overwrites CMAKE_INSTALL_PREFIX?

2014-12-05 Thread Chris Johnson
it's in the cache so cmake-gui can edit it... > > (if project() does something with cmake_isnstall_prefix might also be a > bug) > > On Thu, Dec 4, 2014 at 7:27 PM, Chris Johnson wrote: > >> I have a global include file used by all of the CMakeLists.txt files in >> my proje

[CMake] project directive overwrites CMAKE_INSTALL_PREFIX?

2014-12-04 Thread Chris Johnson
I have a global include file used by all of the CMakeLists.txt files in my project. In it, I set the value of CMAKE_INSTALL_PREFIX, as well as a number of other variables and functions. In my CMakeLists.txt file, I had this: cmake_minimum_require(VERSION 2.8.4) include(global.inc) project(whateve

Re: [CMake] How to set path to library header files?

2014-12-03 Thread Chris Johnson
aving to jump through hoops to support that paradigm is kind of strange. Thanks, ..chris On Wed, Dec 3, 2014 at 10:56 AM, Bill Hoffman wrote: > On 12/2/2014 5:19 PM, Chris Johnson wrote: > >> The target_link_libraries() directive is adequate for this job when the >> header file

Re: [CMake] How to set path to library header files?

2014-12-02 Thread Chris Johnson
ars to automatically add the necessary source directories of the mentioned libraries to the include paths. On Tue, Dec 2, 2014 at 4:00 PM, Chris Johnson wrote: > Yes, by adding another directory between my top-level ./src/ directory and > ./mylib, I can cause the example to fail.

Re: [CMake] How to set path to library header files?

2014-12-02 Thread Chris Johnson
rams which depend upon them? On Tue, Dec 2, 2014 at 3:53 PM, Chris Johnson wrote: > Well, this fixed my example. But my real project still fails the same > way. It is, of course, much more complex and the library directories are > often several layers down in subdirectory trees. :-( > &g

Re: [CMake] How to set path to library header files?

2014-12-02 Thread Chris Johnson
Well, this fixed my example. But my real project still fails the same way. It is, of course, much more complex and the library directories are often several layers down in subdirectory trees. :-( On Tue, Dec 2, 2014 at 2:05 PM, Chris Johnson wrote: > I'm using Make as my build tool.

Re: [CMake] How to set path to library header files?

2014-12-02 Thread Chris Johnson
l source is not part of the default include path, correct? Thanks, ..chris On Tue, Dec 2, 2014 at 1:10 PM, Bill Hoffman wrote: > On 12/2/2014 1:04 PM, Chris Johnson wrote: > >> Adding this directive does not seem to change the results at all, >> actually. Am I missing somethin

Re: [CMake] How to set path to library header files?

2014-12-02 Thread Chris Johnson
Adding this directive does not seem to change the results at all, actually. Am I missing something?​ Thanks, ..chris On Tue, Dec 2, 2014 at 11:33 AM, Bill Hoffman wrote: > This should work: > > include_directories(${CMAKE_SOURCE_DIR}/src) > > -- Powered by www.kitware.c

Re: [CMake] How to set path to library header files?

2014-12-02 Thread Chris Johnson
Just for completeness. File prog/prog.cpp: #include "mylib/myfunc.h" int main(int argc, char** argv) { return myfunc(); } File mylib/myfunc.h: int myfunc(); And file mylib/myfunc.cpp: #include "myfunc.h" int myfunc() { return 1; } -- Powered by www.kitware.com Please keep messages on

Re: [CMake] How to set path to library header files?

2014-12-02 Thread Chris Johnson
Ah, and I royally typo'd: prog.cpp includes the header via: #include "mylib/myfunc.h" (not just "myfunc.h") On Tue, Dec 2, 2014 at 11:01 AM, Chris Johnson wrote: > Background: I'm converting an existing project from a custom build > process which uses BS

[CMake] How to set path to library header files?

2014-12-02 Thread Chris Johnson
[prog/CMakeFiles/prog.dir/all] Error 2 make: *** [all] Error 2 How can I create CMake rules that will allow me to work around this? As I mentioned above, the existing make-based build has to continue working, so I cannot change the #include statement to remove the subdirectory path. ..chris -

Re: [CMake] Creating a library from subdirectories

2014-11-28 Thread Chris Johnson
Thanks to all who have replied for your efforts in trying to help me. My apologies for any lack of clarity in describing my problem. With the various information and advice you provided, I have been able to get my CMake configuration working. Thanks again! ..chris On Wed, Nov 26, 2014 at 3

Re: [CMake] Creating a library from subdirectories

2014-11-26 Thread Chris Johnson
ax +49 6151 155-139 > > johannes.mueller-roe...@igd.fraunhofer.de | www.igd.fraunhofer.de > > > > *From:* Mueller-Roemer, Johannes Sebastian > *Sent:* Wednesday, November 26, 2014 13:50 > *To:* 'Chris Johnson'; cmake@cmake.org > *Subject:* RE: [CMake] Creating a libr

[CMake] Creating a library from subdirectories

2014-11-25 Thread Chris Johnson
generating CMakeLists.txt files via automation which needs to use a sort of a least-common-denominator approach to building those files. ..chris -- 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 serv

Re: [CMake] Possible bug in environment variable expansion?

2014-08-15 Thread Chris Volpe ARA/SED
ich, to my knowledge, is not widely known, and may give some people trouble when dealing with applications (like CMake) that make use of environment variables that contain references to other environment variables. Are we arguing over semantics here? -Chris -Original Message- From: David C

[CMake] "Hidden" cache values in Registry?

2014-08-15 Thread Chris Volpe ARA/SED
Setup\Settings\StartPath\WhereBuild where is an integer. One of these contains the offending path. Is there a way to tell CMake to ignore this and start fresh? Obviously, "delete cache" doesn't do the trick. Is my only option to go into regedit.exe and delete these things fr

Re: [CMake] Possible bug in environment variable expansion?

2014-08-15 Thread Chris Volpe ARA/SED
the type of an env var, since the Windows GUI doesn’t even indicate that there are two types. -Chris From: Andrew Maclean [mailto:andrew.amacl...@gmail.com] Sent: Tuesday, August 12, 2014 6:57 PM To: cmake@cmake.org; Chris Volpe ARA/SED; lucas.pet...@engilitycorp.com Subject: Re: [CMake

Re: [CMake] Possible bug in environment variable expansion?

2014-08-12 Thread Chris Volpe ARA/SED
---Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Bill Hoffman Sent: Tuesday, August 12, 2014 3:50 PM To: cmake@cmake.org Subject: Re: [CMake] Possible bug in environment variable expansion? On 8/12/2014 12:44 PM, Chris Volpe ARA/SED wrote: > That's a good tho

Re: [CMake] Possible bug in environment variable expansion?

2014-08-12 Thread Chris Volpe ARA/SED
everything in my path is now "hard coded", so to speak. Ugh. So, basically, something is messed up in my system. From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Chris Volpe ARA/SED Sent: Tuesday, August 12, 2014 12:44 PM To: lucas.pet...@engilitycorp.com; cmake@cmake.org Subj

Re: [CMake] Possible bug in environment variable expansion?

2014-08-12 Thread Chris Volpe ARA/SED
lucas.pet...@engilitycorp.com [mailto:lucas.pet...@engilitycorp.com] Sent: Monday, August 11, 2014 11:03 PM To: Chris Volpe ARA/SED; cmake@cmake.org Subject: RE: Possible bug in environment variable expansion? Could it be something as simple as UNIX (slash /) vs Windows (backslash \) in the

[CMake] Possible bug in environment variable expansion?

2014-08-11 Thread Chris Volpe ARA/SED
licitly, or obtained implicitly with %BOOST_ROOT%. It would surprise me if this behavior were by design. Does anyone have an explanation for this? Thanks, Chris Christopher R. Volpe, Ph.D. Senior Scientist, Remote Sensing & Decision Analytics [Description: Description: cid:image003.png@0

[CMake] Request for a reopen of bug 3812

2014-05-09 Thread Chris Piker
the source directory (as described in bug 3812) it would be very useful since we have a large network filesystem shared by handful of different operating systems. If I can help in getting this feature implemented please let me know. -- Chris -- Powered by www.kitware.com Please keep messages on-topi

Re: [CMake] INSTALL_COMMAND for ExternalProject not overriding the install step

2013-11-05 Thread Chris Morgan
Doh. I guess I assumed that would have been kicked out earlier when I ran 'cmake ../". Thank you, that works now. Sorry for the noise. Chris On Tue, Nov 5, 2013 at 10:20 AM, Julien Malik wrote: > INSTALL_COMMMAND -> INSTALL_COMMAND (with only 2 'M') ? > >

[CMake] INSTALL_COMMAND for ExternalProject not overriding the install step

2013-11-05 Thread Chris Morgan
ggestions. The files in this directory are used by several different applications (and the folder is itself a git submodule). Should I be making this into a library?? I haven't been able to find good cmake examples for large multi-executable projects and I didn't really want to have separate git

[CMake] Using static libraries

2013-09-18 Thread Chris Wood
I'm trying to create binaries as statically as possible. The fortran code I've got has got X11 and quadmath as dependencies, and I've come across a number of issues (maybe each of these issues should be in a different email?): - My variables are currently set(CMAKE_LIBRARY_PATH /usr/X11/lib /us

[CMake] Setting CMake Flags

2013-08-07 Thread Chris Wood
an flags CMAKE_Fortran_FLAGS:STRING= -static-libgfortran I get the same results whether I include ${CMAKE_Fortran_FLAGS} or not. Is the CACHE STRING property really necessary, or am I missing something else? Cheers, Chris -- Powered by www.kitware.com Please keep messages on-topic and check the

Re: [CMake] CPack: Ignoring files using regex

2013-08-02 Thread Chris Wood
uld just list the known items that you do want to ignore. Something > like this: > > set(CPACK_SOURCE_IGNORE_FILES "/build/;/extrafiles/;/temp/") > > will hopefully ignore directories called build, extrafiles and temp. It > isn't exactly what you want but might h

Re: [CMake] Do not build targets whose dependencies are not available

2013-03-28 Thread Chris Stankevitz
On Tue, Mar 19, 2013 at 3:13 AM, Ansis Māliņš wrote: >> >> Q: Can cmake automatically not build "b" when "a" is not available? > > find_package(a) > if(a_FOUND) > ExternalProject_Add(b PREFIX blabla ...) > endif() Hello, If I understand co

[CMake] Do not build targets whose dependencies are not available

2013-03-18 Thread Chris Stankevitz
in my complex file I will have to add lots of IF(HAVE_C), IF(HAVE_D) etc. Thank you, Chris -- 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

Re: [CMake] Please critique my "hello world" CMakeLists.txt and Config.cmake

2013-02-24 Thread Chris Stankevitz
e ("${CMAKECONFIG_INSTALL_DIR}" which I guessed corresponds to the weird location /usr/local/hello/). Thank you again, Chris -- 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

Re: [CMake] Please critique my "hello world" CMakeLists.txt and Config.cmake

2013-02-24 Thread Chris Stankevitz
rence. github links: https://github.com/chrisstankevitz/hello https://github.com/chrisstankevitz/hello-client git clone links: git://github.com/chrisstankevitz/hello.git git://github.com/chrisstankevitz/hello-client.git Thank you again for your help, Chris -- Powered by www.kitware.com Visi

[CMake] Please critique my "hello world" CMakeLists.txt and Config.cmake

2013-02-23 Thread Chris Stankevitz
some built-in cmake variables or from a variable I create. - INSTALL is looking for helloConfig.cmake in the source directory but it is in the build directory. - Any other comments you have Thank you! Chris CMAKE_MINIMUM_REQUIRED(VERSION 2.8) PROJECT(hello) set (hello_VERSION_MAJOR 1) set (h

Re: [CMake] FindPackage(Ruby) on Ubuntu LTS

2012-10-24 Thread Chris Müller
or a simple example. Thanks. Chris -- 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 subscri

Re: [CMake] FindPackage(Ruby) on Ubuntu LTS

2012-10-24 Thread Chris Müller
Am 24.10.2012 17:58, schrieb David Cole: On Wed, Oct 24, 2012 at 11:57 AM, David Cole wrote: The following 5 commits were merged to 'master' for FindRuby.cmake *after* CMake 2.8.7, and probably fix the problem you're seeing. Can you try with 2.8.8 or later? I'll check that. Also if the

[CMake] FindPackage(Ruby) on Ubuntu LTS

2012-10-24 Thread Chris
(Ruby) call in a CMakeLists.txt results in the error: -- Could NOT find Ruby (missing: RUBY_LIBRARY) (found version "1.9.1") -- Configuring done -- Generating done -- Build files have been written to: /home/chris/repos/build $ cmake --version cmake version 2.8.7 $ ruby -v ruby 1.9.

Re: [CMake] Eclipse generator: run/debug configurations

2012-06-02 Thread Chris Stankevitz
On Sat, Jun 2, 2012 at 7:20 PM, Chris Stankevitz wrote: > When I try to add a breakpoint in the source editor, gdb > complains: The problem was that I did not ask cmake to create a debug build. Fixed that and now eclipse works as expected. Chris -- Powered by www.kitware.com Visit

[CMake] Eclipse generator: run/debug configurations

2012-06-02 Thread Chris Stankevitz
t the end of the message is part of the filename). At this point I am confused and post my questions to the group. Thank you, Chris -- 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 che

[CMake] Issue with ExternalProject_add at make_directory build

2012-01-20 Thread Chris Sigman
Hi all, I'm trying to build boost with ExternalProject_add using cmake 2.8.7, and there seems to be an error in the makefile it's generating. Specifically, in the step where it created the directories, the makefile ends up with this line: /apps/cmake/cmake-2.8.7/bin/cmake -E make_directory /wor

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-03-31 Thread Chris Scharver
On Thu, Mar 31, 2011 at 6:39 PM, Bill Hoffman wrote: > On 3/31/2011 6:15 PM, David Cole wrote: >> >> On Thu, Mar 31, 2011 at 6:05 PM, Bill Hoffman > <mailto:bill.hoff...@kitware.com>> wrote: >> >>    On 3/31/2011 4:19 PM, Chris Scharver wrote: >> >

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-03-31 Thread Chris Scharver
EXTERNAL_OBJECT not linked using Visual Studio 2010 http://public.kitware.com/Bug/view.php?id=11891 ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-top

Re: [CMake] Building a DLL and test driver EXE using CMake -- error by design?

2011-03-23 Thread Chris Volpe ARA/SED
ing FeatureViewer: It finds the VTK libraries just fine without LINK_DIRECTORIES. Again, the TestDriver application builds and runs just fine if I manually remove the references to vtk*.lib in its project settings. thanks, -Chris Chris -- Christopher R. Volpe, Ph.D.

Re: [CMake] Building a DLL and test driver EXE using CMake -- error by design?

2011-03-23 Thread Chris Volpe ARA/SED
7;t that leave FeatureViewer with unresolved symbols? Thanks again for your help!! -Chris > -Original Message- > From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On > Behalf Of Michael Hertling > Sent: Tuesday, March 22, 2011 7:30 PM > To: cmake@cmake.org >

Re: [CMake] Building a DLL and test driver EXE using CMake -- error by design?

2011-03-22 Thread Chris Volpe ARA/SED
un CMake (a pain). I'm amazed that nobody has ever experienced this problem before. It seems like a very natural thing to want to do. Thanks for the quick response. -Chris From: Jean-Christophe Fillion-Robin [mailto:jchris.filli...@kitware.com] Sent: Tuesday, March 22, 2011 2:41 PM To: Chris V

  1   2   3   >