Re: [CMake] Building Boost as an ExternalProject

2017-10-03 Thread Knox, Kent
Hi Michael~ > That does seem to be the rub, at least on a Windows build. Something about > ExternalProject_Add ain't quite kosher with what the Boost build system > expects and it needs a little help. > Using ExternalProject_Add, it succeeds, to a point. Then it falls over > looking for b2 no

Re: [CMake] Building with Cmake using Boost problem (Karel Geiregat)

2016-03-18 Thread Knox, Kent
It looks like you built static libraries with b2: PS D:\software\boost_1_60_0\stage\lib> Get-ChildItem libboost_filesystem* > -name > libboost_filesystem-vc140-mt-1_60.lib > libboost_filesystem-vc140-mt-gd-1_60.lib But I believe you are telling cmake (or boost preprocessor?) to search for dynamic

Re: [CMake] ExternalProject_Add with flexible install commands

2016-02-25 Thread Knox, Kent
o_append ) and it's working great for me. I have no problem documenting what i'm doing in my code. Thank you for your input! K From: David Cole Sent: Thursday, February 25, 2016 10:57 AM To: Knox, Kent Cc: Petr Kmoch; cmake@cmak

Re: [CMake] ExternalProject_Add with flexible install commands

2016-02-25 Thread Knox, Kent
MMAND " " ) --> /bin/sh: 1: : not found set( rocblas_INSTALL_COMMAND INSTALL_COMMAND """" ) --> CMake Warning (dev) in CMakeLists.txt --> Argument not separated from preceding token by whitespace. Kent From: Petr Kmoch Sent

[CMake] ExternalProject_Add with flexible install commands

2016-02-25 Thread Knox, Kent
I am having a problem passing parameters as a variable into ExternalProject_Add(). I seem to be fighting syntax, i've tried many different variants with the set() statement ### # Default behavior is to NOT install library, empty quotes should disable install set( libxxx_in

Re: [CMake] SuperProject package/install

2015-11-12 Thread Knox, Kent
[rm] Right now, the Main ExternalProject_add INSTALL_COMMAND is "". How can I change this (or add another step) to build the package target (I don't want to just hard-code make package, as it should work with MSVC too). I've tried things like '${CMAKE_COMMAND} cmake--build package' but haven't

Re: [CMake] Modern superbuild template including support for

2015-08-21 Thread Knox, Kent
m: Andrey Pokrovskiy [mailto:wonder.m...@gmail.com] Sent: Thursday, August 20, 2015 7:31 PM To: Knox, Kent Cc: cmake@cmake.org Subject: Re: [CMake] Modern superbuild template including support for > After the first build of the superbuild, close the superbuild solution as > it's job is

Re: [CMake] Modern superbuild template including support for

2015-08-20 Thread Knox, Kent
rovskiy [wonder.m...@gmail.com] Sent: Thursday, August 20, 2015 5:35 PM To: Knox, Kent Cc: cmake@cmake.org Subject: Re: [CMake] Modern superbuild template including support for Hm, I don't understand how that possibly could work (maybe there some explicit support for that in the project genera

Re: [CMake] Modern superbuild template including support for

2015-08-20 Thread Knox, Kent
generated for the library thereafter. I've not tested QT Creater, but I'll see if I can verify your difficulties next week. From: Andrey Pokrovskiy [wonder.m...@gmail.com] Sent: Thursday, August 20, 2015 2:29 PM To: Knox, Kent Cc: cmake@cmake.org S

Re: [CMake] Modern superbuild template including support for

2015-08-20 Thread Knox, Kent
> I'm looking for a template or example project that shows the how to > setup a cmake-based project in the cleanest and simplest way (i.e. > using all the latest features of 3.3 release) and with support for the > following build features: I waited a few days to see if anybody else would volunteer

Re: [CMake] CMake Digest, Vol 134, Issue 1

2015-06-02 Thread Knox, Kent
Hi Daniel~ " Suppose you have libA that optionally uses zip functionality (say by some option USE_ZLIB in libA's CMakeLists.txt). This means libA will optionally have -lz in its INTERFACE_LINK_LIBRARIES (exported into liba-config.cmake)." I think the best way to handle this is to turn 'transiti

[CMake] Resolving CMP0026 warnings

2015-02-05 Thread Knox, Kent
Hi all~ I have a question similar to one recently asked by NoRulez about CMP0026. I've been working on updating my legacy cmake code to compile without warnings with the 3.x series. When I install my projects, I want to copy my 'non-system' target dependencies to help debug on non-development

[CMake] ExternalProject_Add with gtest and vs2012

2012-07-10 Thread Knox, Kent
Hi all~ I would like to add gtest to my project with ExternalProject_Add(), and I'm using the vs2012 RC compiler to compile everything. I'm getting compile errors related to gtest using tuples: 4>H:\perforce\bin\vs11x64.SuperBuild\external\gtest\src\gTest\include\gtest/gtest-printers.h(550):

Re: [CMake] ExternalProject_Add and Boost

2012-06-18 Thread Knox, Kent
ens-lyon.org>> Content-Type: text/plain; charset=windows-1252; format=flowed On 18/06/2012 08:42, Knox, Kent wrote: > BUILD_COMMAND bjam --with-program_options address-model=64 > toolset=msvc-11.0 link=static stage Two comments here: - bjam has been renamed to b2 since Boost 1.

Re: [CMake] ExternalProject_Add and Boost

2012-06-18 Thread Knox, Kent
or other appropriate variables) for my real project. I'll play around with this idea when I get some time, thanks for the comment! -Original Message- From: Ben Medina [mailto:ben.med...@gmail.com] Sent: Monday, June 18, 2012 11:59 AM To: Knox, Kent Cc: cmake@cmak

[CMake] ExternalProject_Add and Boost

2012-06-17 Thread Knox, Kent
Hi all~ I have been experimenting in my project with using ExternalProject_Add. My goal is to make our build process more automated, with less headache to get up and started developing on a fresh system. I decided that boost would be a great dependency to automate, which I successfully comple

Re: [CMake] RPATH/RUNPATH

2011-08-17 Thread Knox, Kent
7;s, but I'm not quite sure how to write this in CMake yet. Wanted to check first if CMake had undocumented or planned settings first. Kent -Original Message- From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, August 17, 2011 2:13 PM To: Knox, Kent Cc: cmake@cmake

Re: [CMake] RPATH/RUNPATH

2011-08-17 Thread Knox, Kent
Any comments on CMake support or planned support for RUNPATH? -Original Message- From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, August 17, 2011 1:57 PM To: Knox, Kent Cc: cmake@cmake.org Subject: Re: [CMake] RPATH/RUNPATH You can use CMake's RPATH related prope

Re: [CMake] RPATH/RUNPATH

2011-08-17 Thread Knox, Kent
: Wednesday, August 17, 2011 11:37 AM To: Knox, Kent Cc: cmake@cmake.org Subject: Re: [CMake] RPATH/RUNPATH Perhaps try googling "cmake rpath" ... ? http://www.cmake.org/Wiki/CMake_RPATH_handling On Wed, Aug 17, 2011 at 12:03 PM, Knox, Kent wrote: > Is there any support or planned sup

[CMake] RPATH/RUNPATH

2011-08-17 Thread Knox, Kent
Is there any support or planned support in CMake for RUNPATH? On a related note, is it possible for CMake to set the RPATH/RUNPATH using $ORIGIN on 'make install'? This way the install directory can be self-referential and moved as a unit around the filesystem? Kent _

Re: [CMake] Linking Boost on Linux on 64bit host and 32bit

2010-11-04 Thread Knox, Kent
[Michael] # set( Boost_DEBUG ON ) Uncomment that and send the output. Yes, it will be A LOT of output but I am trying to figure out what is going wrong. [Kent] I took out the explicit setting of BOOST_LIBRARYDIR: kk...@ux2 ~/code/clAMD/trunk/bin/linux32 561 > InitCmake.sh -- The C compiler ident

Re: [CMake] Linking Boost on Linux on 64bit host and 32bit

2010-11-04 Thread Knox, Kent
Hi Michael~ [Michael] Clean out your build folder first. [Kent] kk...@ux2 ~/code/clAMD/trunk/bin/linux32 528 > rm -rf * I nuke the whole directory [Michael] export BOOST_ROOT=/home/kknox/sdk/boost_1_44_0 [Kent] Instead of setting an environment variable, I have a bash script that executes the

Re: [CMake] Linking Boost on Linux on 64bit host and 32bit target

2010-11-04 Thread Knox, Kent
-Original Message- From: Adam J Richardson [mailto:fat...@crackmonkey.us] Sent: Thursday, November 04, 2010 4:56 AM To: Knox, Kent Cc: cmake@cmake.org Subject: Linking Boost on Linux on 64bit host and 32bit target -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 04 Nov 2010 04:35:57 -0400

Re: [CMake] Linking Boost on Linux on 64bit host and 32bit

2010-11-04 Thread Knox, Kent
Hi Andreas~ [Andreas] Did you try to print out the value of Boost_LIBRARIES? Does that contain the proper absolute path to the boost library? Are you actually using that variable for your target_link_libraries call? The make-output looks like either the variable doesn't get the right value whic

Re: [CMake] Linking Boost on Linux on 64bit host and 32bit target

2010-11-03 Thread Knox, Kent
t is readable. Does anybody know what to do? Kent -Original Message- From: Knox, Kent Sent: Friday, October 29, 2010 4:40 PM To: 'cmake@cmake.org' Subject: Linking Boost on Linux on 64bit host and 32bit target Hi all~ I have a project using Boost that should compile for both 6

[CMake] Linking Boost on Linux on 64bit host and 32bit target

2010-10-29 Thread Knox, Kent
Hi all~ I have a project using Boost that should compile for both 64bit and 32bit on a 64bit host. This works fine for a 64bit target, but I can't get this to work for a 32bit target. I've done a fair share of googling to find this answer, but have not stumbled across anything that helps. In

Re: [CMake] several questions about cmake

2010-08-26 Thread Knox, Kent
>> 1) The default install directory on Windows is C:\Program Files, or >> C:\Program Files (x86) on 64 bit. ?This default will not work on >> Windows 7 (and perhaps Vista), because the user isn't running as >> administrator anymore, and only administrators can modify that >> directory. ?There s

[CMake] Windows debugger command project settings

2010-08-20 Thread Knox, Kent
My current codebase produces an executable with several dynamically linked libraries. I can't step through the code under the debugger until I've built the 'install' project, which copies all the binaries into the same output directory; they then can find each other. Of course, at this point I

Re: [CMake] CMake bugs #0010611 & #0010040

2010-07-14 Thread Knox, Kent
> Does "." in the name work for any other version of VS? [KK] I've tested with both vs9 & vs10, and it works in vs9. In vs10, even though the binary name is truncated at the first period, the .pdb and static .lib files are not truncated and contain multiple periods. On 7

[CMake] CMake bugs #0010611 & #0010040

2010-07-13 Thread Knox, Kent
I'm hoping to bring attention to these two bug reports, as I am currently affected by them. This bug concerns vs2k10 generated solution and projects, and corrupts the names of my generated binaries that use multiple periods in their names. To get around this bug, I am using set_target_properti

Re: [CMake] CPACK_SOURCE_IGNORE_FILES

2009-06-30 Thread Knox, Kent
id Cole [mailto:david.c...@kitware.com] Sent: Tuesday, June 30, 2009 10:21 AM To: Knox, Kent Cc: John Drescher; cmake@cmake.org Subject: Re: [CMake] CPACK_SOURCE_IGNORE_FILES It's the leading "/" in the txt portion of the expression. get rid of it. (Eric already pointed this out

Re: [CMake] CPACK_SOURCE_IGNORE_FILES

2009-06-30 Thread Knox, Kent
Yes, I did try to escape the $; no joy. No, I'm not against leaving the $ out, but I can't get it to work anyway. Kent -Original Message- From: Tyler Roscoe [mailto:ty...@cryptio.net] Sent: Monday, June 29, 2009 10:10 PM To: Knox, Kent Cc: cmake@cmake.org Subject:

Re: [CMake] CPACK_SOURCE_IGNORE_FILES

2009-06-30 Thread Knox, Kent
esche...@gmail.com] Sent: Monday, June 29, 2009 9:14 PM To: Knox, Kent Cc: cmake@cmake.org Subject: Re: [CMake] CPACK_SOURCE_IGNORE_FILES On Mon, Jun 29, 2009 at 9:18 PM, Knox, Kent wrote: > I'm integrating CPack into my build system, and can't quite get > CPACK_SOURCE_IGNOR

[CMake] CPACK_SOURCE_IGNORE_FILES

2009-06-29 Thread Knox, Kent
I'm integrating CPack into my build system, and can't quite get CPACK_SOURCE_IGNORE_FILES to work right. I want to cull individual files from the source package, like .ncb files and .pdb files and such. It seems as though CPACK_SOURCE_IGNORE_FILES honors the directories that I want to exclude, bu

[CMake] Re-defining CMAKE_CXX_FLAGS with /TP for cl.exe

2009-06-29 Thread Knox, Kent
I've just stumbled across some surprising cl.exe behavior, and I would like to see if the collective minds of this dist list has come across this before. In my c++ project, I override CMAKE_CXX_FLAGS with my own flags, including /TP. Using an nmake based build, this causes the linking step to b

[CMake] subsystem questions for win & ifort

2009-03-18 Thread Knox, Kent
Hi all~ I'm having trouble figuring out how to select the appropriate subsystem for my cmake windows ifort project, with the IDE build environment. By default, unless otherwise specified, intel's Fortran runtime file are linked in statically. Everything works fine statically; no errors. I prefe