Re: [CMake] Missing dll on program startup - a way automate it?

2019-11-20 Thread Michael Jackson
You can also use cmake to just copy the DLLs into the appropriate directory. Here is a snippet from our own projects. #--- #- This copies all the Prebuilt Pipeline files into the Build directory so the help #- works

Re: [CMake] Setting RPATH lookup on macOS

2019-09-12 Thread Michael Jackson
. (at least on macOS & Linux systems). -- Mike Jackson From: Juan Sanchez Date: Thursday, September 12, 2019 at 11:35 AM To: Michael Jackson Cc: CMake Subject: Re: [CMake] Setting RPATH lookup on macOS The macOS install_name_tool can be used to change the RPATH of your binaries. It

Re: [CMake] Setting RPATH lookup on macOS

2019-09-11 Thread Michael Jackson
On 9/11/19, 5:42 PM, "Kyle Edwards" wrote: On Wed, 2019-09-11 at 17:33 -0400, Michael Jackson wrote: > Already looked on google and at the CMake documentation but > everything listed does not seem to work so here is the setup. > > I am using MKL a

[CMake] Setting RPATH lookup on macOS

2019-09-11 Thread Michael Jackson
2.3/5.12.3/clang_64/lib (offset 12) Oddly the Qt libraries and one of my own libraries do get their rpaths encoded. I feel like I need to append to the RPATH that gets encoded into the executable but I am not really figuring out how to do that. Help -- Michael Jackson | Owner,

Re: [CMake] How to specify VS2017 compilers when on VS2019

2019-08-16 Thread Michael Jackson
Why can't I do -T v141? -- Mike Jackson On 8/16/19, 2:09 PM, "Kyle Edwards" wrote: On Fri, 2019-08-16 at 13:54 -0400, Michael Jackson wrote: > What are the values to the -T argument that are to be used so that I > can use VS2019 but have the 2017 compilers?

[CMake] How to specify VS2017 compilers when on VS2019

2019-08-16 Thread Michael Jackson
What are the values to the -T argument that are to be used so that I can use VS2019 but have the 2017 compilers? -- Mike Jackson -- 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

Re: [CMake] How to support separate debug and release build directories?

2019-06-21 Thread Michael Jackson
David, I think a bit more explanation of the philosophy (at least how I interpret it) is needed. I see in your emails that you are “targeting makefiles”. With CMake you need to really stop thinking this way. Rarely do you need to target any specific build system (although those times do

[CMake] CTest not exporting users HOME environment variable?

2019-05-31 Thread Michael Jackson
that needs to be done to ensure that CTest exports the HOME variable for the user running the test? -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net -- Powered by www.kitware.com Please keep messages on-topic and check

Re: [CMake] How to use Ninja on Windows with MSVC?

2019-05-22 Thread Michael Jackson
Cool tip. Didn’t know that. I should compact my script a bit. I do that for the Intel Fortran compiler that we use but didn’t think of it for the vcvarsall.bat file. -- Mike Jackson From: Juan Sanchez Date: Wednesday, May 22, 2019 at 11:41 AM To: Michael Jackson Cc: Robert Dailey

Re: [CMake] How to use Ninja on Windows with MSVC?

2019-05-22 Thread Michael Jackson
CMake-Gui launch with all the correctly identified compilers. I am happy to share the .bat file if you are interested. I have it updated for VS2017 at the moment but have been doing it this way since VS2013. -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@blu

Re: [CMake] CMake Dependence on C: drive?

2019-02-20 Thread Michael Jackson
> I am running on Win7 but colleagues use Win10 and have not had any issues > either. > > All that to say: shouldn’t be an issue. > > -Caleb > > On Tue, Feb 19, 2019 at 5:05 PM Michael Jackson < > mike.jack...@bluequartz.net> wrote: > >> Currently u

[CMake] CMake Dependence on C: drive?

2019-02-19 Thread Michael Jackson
be run from the C: drive? -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net -- 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

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

2019-01-11 Thread Michael Jackson
is stopped BUT the actual compilers (clang in my case) keep going. I have to open a terminal and “killall clang” to get everything to stop. I never had a problem until I updated to Xcode 10.1. This is with CMake 3.13.0 and macOS 10.13.6. Again, maybe related, maybe not. -- Michael Jackson

Re: [CMake] Putting the git commit hash in a cmake variable

2018-10-11 Thread Michael Jackson
project. I added some "smarts" to it to at least compare the new output with the old output and only over write if they are different. -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net <http://www.bluequartz.net&g

Re: [CMake] Bundling Qt5 with CMake on Linux

2018-10-08 Thread Michael Jackson
tall rules to place them into the proper location. Not neat, not clean but works for us. -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net <http://www.bluequartz.net> On 10/8/18, 6:44 AM, "CMake on behalf of Andreas Paku

[CMake] Issues with Python, Locale, CTest and MacOS

2018-09-27 Thread Michael Jackson
ariables, set environment variables for the locale in each bash script file that gets called? I am just plain out of ideas. Thanks for any help. -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net <http://www.bluequartz.net>

Re: [CMake] How to have Visual Studio 15 2017 actually use a 64 bit toolchain.

2018-09-21 Thread Michael Jackson
On Fri, Sep 21, 2018 at 4:02 PM J Decker wrote: > "C:/tools/unix/cmake/bin/cmake.exe" -G "Visual Studio 15 2016 Win64" -T > "v140" .. > C:\tools\unix\cmake\bin\cmake.exe --build . --config "Debug" --target > "INSTALL" > > On

Re: [CMake] How to have Visual Studio 15 2017 actually use a 64 bit toolchain.

2018-09-21 Thread Michael Jackson
f Mateusz Loskot" wrote: On Fri, 21 Sep 2018 at 16:13, Michael Jackson wrote: > > For those that want to actually use Visual Studio 15 2017 is there anything in CMake or an environment variable that can be set? Isn't host=x64 for that purpose? https:/

Re: [CMake] How to have Visual Studio 15 2017 actually use a 64 bit toolchain.

2018-09-21 Thread Michael Jackson
an environment variable or use the -T host=x64" option with compiling (as Volker just mentioned). -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net <http://www.bluequartz.net> On 9/21/18, 10:41 AM, "R0b0t1" w

[CMake] How to have Visual Studio 15 2017 actually use a 64 bit toolchain.

2018-09-21 Thread Michael Jackson
-to-make-visual-studio-use-the-native-amd64-toolchain/25626630#25626630 Is there a CMake variable that I can set to tell Visual Studio to use the X64 toolchain? Thanks -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net

Re: [CMake] Appending to CMAKE_CXX_FLAGS

2018-09-11 Thread Michael Jackson
I add it manually each and every time. I have to tell all new developers to remember to add the flag otherwise they are still sitting after an hour waiting on our code to compile wondering why it takes so long. Then it hits us, "Oh, Yeah. Open CMake-Gui and set the /MP flag". I'm frustrated at

Re: [CMake] Appending to CMAKE_CXX_FLAGS

2018-09-11 Thread Michael Jackson
: Marc CHEVRIER Date: Tuesday, September 11, 2018 at 1:28 PM To: Michael Jackson Cc: CMake Subject: Re: [CMake] Appending to CMAKE_CXX_FLAGS If you set directory property at the top level CMakeList.txt, before any target definition, all targets will inherit this value. And, because pr

Re: [CMake] Appending to CMAKE_CXX_FLAGS

2018-09-11 Thread Michael Jackson
configure using Visual Studio (2015/2017) as the generator. I guess I could put the append string fairly high up in the CMake hierarchy. I am not seeing a property (from the first link you sent) that would allow me to do that. -- Michael Jackson | Owner, President BlueQuartz Software

[CMake] Appending to CMAKE_CXX_FLAGS

2018-09-11 Thread Michael Jackson
this? Thanks -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net -- 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

Re: [CMake] Copy file from Source to Build dir based on CMAKE_CFG_INTDIR

2018-08-23 Thread Michael Jackson
https://gitlab.kitware.com/cmake/cmake/blob/v3.12.1/Tests/CudaOnly/ExportPTX/CMakeLists.txt#L13 On Thu, Aug 23, 2018 at 1:47 PM Michael Jackson wrote: > > I would like to copy some files from my source dir into my binary RUNTIME_DIR based on the current configuration being compiled

[CMake] Copy file from Source to Build dir based on CMAKE_CFG_INTDIR

2018-08-23 Thread Michael Jackson
ite a simple C++ program to do the copy for me (which seems ludicrous to have to do..) -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net -- Powered by www.kitware.com Please keep messages on-topic and check the CMake

Re: [CMake] Packaging dylibs into app bundles

2018-07-19 Thread Michael Jackson
You need to pass in more paths to the “fixup_bundle()” method. Those paths are the paths where the libraries are located so CMake has somewhere else to look in case the absolute path is not encoded in the dylib itself. I could point you to our project but it is pretty scary in there. We use a

Re: [CMake] CMake 3.12 rc2 to rc3 Regression

2018-07-19 Thread Michael Jackson
Thank you for the links. After reading through all the various discussions is there a time line of when the feature will be added back to CMake? Is it a matter of having somebody to work the problem? Is the problem solvable? -- Michael Jackson | Owner, President BlueQuartz Software

Re: [CMake] CMake 3.12 rc2 to rc3 Regression

2018-07-18 Thread Michael Jackson
Searching the mailing list archives for the RC3 announcement I scrolled to the bottom and found: Brad King (2): Revert "target_link_libraries: Allow use with targets in other directories" CMake 3.12.0-rc3 Just curious what caused the issue to revert the change? -- Micha

[CMake] CMake 3.12 rc2 to rc3 Regression

2018-07-18 Thread Michael Jackson
essage. I was trying to keep up with the RCs but just got back from travel to test the release. We were counting on that new feature for a few aspects of our project. Was the feature pulled due to bugs? -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack.

[CMake] target_sources and multiple subdirs

2018-06-20 Thread Michael Jackson
to the python module target through the use of target_sources() command. Not sure how that works or if that idea would work. Thoughts or pointers would be very much welcome. -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net

Re: [CMake] cmake in MacPorts environment difficulties

2018-06-13 Thread Michael Jackson
CMake is looking for .app package and my guess is that the package being built is a "unix" style installation. If your project depends on just MacPorts you should be able to just do "make install" after setting the CMAKE_INSTALL_PREFIX=/opt/local. -- Mike Jackson On 6/13/18, 4:17 PM, "CMake

Re: [CMake] Return an Error Code (or something) from a CMake Script.

2018-02-27 Thread Michael Jackson
-Original Message- From: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca> Date: Monday, February 26, 2018 at 6:02 PM To: Michael Jackson <mike.jack...@bluequartz.net> Cc: CMake Mail List <cmake@cmake.org> Subject: Re: [CMake] Return an Error Code (or something) from

[CMake] Return an Error Code (or something) from a CMake Script.

2018-02-26 Thread Michael Jackson
In our CMake based project I generate a *.cmake file which I call with the following bit of code: add_custom_target(DREAM3D_MKDOCS_GENERATION ALL COMMAND "${CMAKE_COMMAND}" -P "${docsCmakeFile}" COMMENT "using mkdocs to generate the documentation" ) Inside the generated file is

[CMake] How to determine or set the order that targets are built

2017-12-28 Thread Michael Jackson
efinintely consider renaming the plugin if that meant it would kick off earlier. Any suggestions would be great. -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net -- Powered by www.kitware.com Please keep messages on-topic

[CMake] ExternalProject_Add and Git Update? How do I make these work?

2017-12-22 Thread Michael Jackson
fast-forwarded. (use "git pull" to update your local branch) Untracked files: (use "git add ..." to include in what will be committed) "tests/mu\303\261oz.t" nothing added to commit but untracked files present (use "git add" to track) There was

[CMake] Configuration under CMake 3.10.1 fails but succeeds with 3.9.6

2017-12-14 Thread Michael Jackson
ve any thoughts on this issue? -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net -- 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] Using CMake include does not seem to work intuatively

2017-12-13 Thread Michael Jackson
.cmake file and the associated error make sense. If you were to copy-paste the code from Foo.cmake into your CMakeLIsts.txt file then it would be looking for a Bar.cmake file in the same directory as "CMakeLists.txt". -- Michael Jackson | Owner, President BlueQuartz Softw

[CMake] CMake 3.10 adding mystery source file to target?

2017-12-06 Thread Michael Jackson
f anything is broken on that side. Thanks for any information anyone may have. Thoughts. Ideas. All are welcome. -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net -- Powered by www.kitware.com Please keep messages on-topic and

Re: [CMake] cmake buried in subdirectory?

2017-10-05 Thread Michael Jackson
You are over thinking it. As someone else stated, check if the build directory and the source directory are the same and if they are you FATAL_ERROR with a message. Otherwise you can put a single CMakeLists.txt file in the top level to kick things off. Plus, I think it is starting to become

Re: [CMake] cmake install

2017-09-10 Thread Michael Jackson
You should explicitly set the installation location of your package using –DCMAKE_INSTALL_PREFIX=/xxx///xxx during the initial invocation of cmake. This should be set to a location you KNOW you have normal write access to. Once this is set then you will no longer need to use “sudo”

Re: [CMake] Boost is planning to switch from bjam to CMake!

2017-07-24 Thread Michael Jackson
Let's hope this try actually works. It was tried 8 years ago but some of the boost developers really fought the transition. Hopefully with the support of the steering committee it will work. Let's all welcome the boost devs into the CMake community with wide open arms. -- Mike Jackson

Re: [CMake] Parallel moc for Qt files

2017-07-07 Thread Michael Jackson
Thank you for the suggestions. It is almost like a Jom for moc needs to be written. -Mike Jackson From: Benjamin Ballet <bbal...@ivsweb.com> Sent: Friday, July 7, 2017 5:47:20 AM To: Michael Jackson Cc: cmake Subject: Re: [CMake] Parallel moc for Qt fi

Re: [CMake] Parallel moc for Qt files

2017-07-07 Thread Michael Jackson
n.a...@gmail.com> Sent: Thursday, July 6, 2017 6:11:50 PM To: Michael Jackson Cc: cmake Subject: Re: [CMake] Parallel moc for Qt files On Thu, Jul 6, 2017 at 10:00 PM, Michael Jackson <mike.jack...@bluequartz.net<mailto:mike.jack...@bluequartz.net>> wrote: I have a large list of files that

[CMake] Parallel moc for Qt files

2017-07-06 Thread Michael Jackson
I have a large list of files that need to have Qt's 'moc' run on them (107 headers). I use all the normal CMake facilities for Qt based projects. I noticed that the generation of the moc files are done serially. Is there a flag or anything that I can use to run the generation in Parallel? I

Re: [CMake] CMake Server Mode and USE_FOLDERS

2017-07-04 Thread Michael Jackson
the folder structure, not the logical layout of the CMake scripts. There is a tendency though of hooking all CMake notions into the IDE, such as CTests show up Test Explorer. Reach out to the VS CMake team and let them know that there is such need, perhaps controlled through a switch. *Fela

[CMake] CMake Server Mode and USE_FOLDERS

2017-07-03 Thread Michael Jackson
I was just exploring in a command line the CMake Server mode in 3.8 (I have not tried 3.9 yet) just to see what gets output and I was wondering if CMake-Server mode supports "set_property(GLOBAL PROPERTY USE_FOLDERS ON)" for any generator? I was specifically using the "ninja" generator for my

Re: [CMake] DLL handling under CMake

2017-04-29 Thread Michael Jackson
Our project uses some custom cmake functions to gather the DLLs from 3rd party libs (HDF5, TBB, Qt) and create custom targets to copy them to the build directory and create install rules to copy them to the package when it is created. Yes, they were tedious to write and get correct but they

Re: [CMake] cmake server-mode project order

2017-02-07 Thread Michael Jackson
Tobias Hunger wrote: On Feb 7, 2017 20:43, "Brad King" <brad.k...@kitware.com <mailto:brad.k...@kitware.com>> wrote: On 02/07/2017 02:23 PM, Michael Jackson wrote: > Are there any improvements to the cmake -server mode? I am testing the > combin

Re: [CMake] [ANNOUNCE] CMake 3.8.0-rc1 now ready for testing!

2017-02-07 Thread Michael Jackson
Are there any improvements to the cmake -server mode? I am testing the combination of QtCreator and CMake and there seemed to be an issue where the list of projects are in Alphabetical order and not in a "top down" order. -- Michael A. Jackson BlueQuartz Software, LLC [e]:

Re: [CMake] Full absolute path as RPATH in build tree

2016-12-05 Thread Michael Jackson
full path? set_target_properties(foo PROPERTIES MACOSX_RPATH OFF) Clint - On Dec 5, 2016, at 7:38 PM, Michael Jackson mike.jack...@bluequartz.net wrote: what combinations of RPATH variables do I need to set to get a full, absolute path to a build library in my build tree? THis is on macOS 10.10.5 and

[CMake] Full absolute path as RPATH in build tree

2016-12-05 Thread Michael Jackson
what combinations of RPATH variables do I need to set to get a full, absolute path to a build library in my build tree? THis is on macOS 10.10.5 and cmake 3.5 and above. I have tried all sorts of combinations and I either get just the library name or @rpath/library.dylib neither of which is

[CMake] BundleUtilities with Command line program on macOS

2016-12-05 Thread Michael Jackson
I am using the BundleUtilites on macOS to create a redistributable package that consists of a large number of command line programs, libraries and other assorted support files. The issue that I am having is that each time BundleUtilities runs on a given executable, it will also attempt to "fix

Re: [CMake] Determine which files have changed during a CMake run

2016-11-23 Thread Michael Jackson
Jackson [mike.jack...@bluequartz.net] Craig Scott wrote: Does "ninja -d explain" tell you what you need? On Thu, Nov 24, 2016 at 5:34 AM, Michael Jackson <mike.jack...@bluequartz.net <mailto:mike.jack...@bluequartz.net>> wrote: Is there a way to determine which files

[CMake] Determine which files have changed during a CMake run

2016-11-23 Thread Michael Jackson
Is there a way to determine which files in my build directory have changed for a given run of CMake? The use case is that I made what I thought was a small change to my configuration using cmake and when I went to build it was basically a full recompile. During our cmake run we do use

[CMake] List all "include_directories" for a given project or target

2016-11-21 Thread Michael Jackson
Is there a command or variable or a code snippet from someone that essentially has a list of all the "include_directories" that have been used/created in a given project? Or can I get a list of all the targets(created and imported) and then get the list of "include_directories" from those

Re: [CMake] Issue with Fortran/C binding with Intel compilers

2016-11-17 Thread Michael Jackson
Just to add my 2 cents to this. This past year a collaborator of mine updated his F95 code to F2003 and the ISO_C_BINDING syntax and this made the interaction between our C/C++ codes and their Fortran codes extremely easy. No more macros to try to figure out. It oddly, just seems to work. Well

Re: [CMake] Force MSVC runtime for debug builds

2016-11-08 Thread Michael Jackson
I would agree. I don't know how many subtle runtime bugs I have had to figure out because our project mixed debug and release runtimes on MSVC. DON'T do it unless you REALLY have to. But even then I would never actually deploy that into production. YMMV -- Mike Jackson

Re: [CMake] Adding Cmake version in online documentation

2016-11-08 Thread Michael Jackson
+1 -- Mike Jackson [mike.jack...@bluequartz.net] Louis-Paul CORDIER wrote: Hi, This is a feature proposal for the documentation. Cmake is making use of cmake_minimum_required() command, that is very useful. Unfortunately it is very hard to identify commands that will work without browsing

[CMake] Visual Studio and Intel Fortran with Mixed C/F90 files not working

2016-11-01 Thread Michael Jackson
I have a project that I am configuring with Visual Studio 12 2013 Win64 and Intel Fortran v16/v17. I have executables where there is both a .cpp file and a .f90 file. The .f90 file is not compiled when I compile the solution. If I use NMake Makefiles everything compiles, links and executes just

Re: [CMake] Windows Visual Studio 13 with Ninja & CMake

2016-09-22 Thread Michael Jackson
unch cmake-gui from the command prompt that > works for your "from the command line" scenario? > > On Thu, Sep 22, 2016 at 1:58 PM, Michael Jackson > <mike.jack...@bluequartz.net> wrote: > > My combination is Windows 10 (Anniversary Update), Visual Studio 12 2013 &g

[CMake] Windows Visual Studio 13 with Ninja & CMake

2016-09-22 Thread Michael Jackson
My combination is Windows 10 (Anniversary Update), Visual Studio 12 2013 Update 5, Ninja and CMake 3.5/3.6. I launch CMake-GUI.exe, select my Source and binary directories and then "Configure", select "Ninja" as the generator and then I instantly get the error that CMake can not find the

Re: [CMake] ExternalProject_Add not honoring the INSTALL_DIR argument.

2016-08-29 Thread Michael Jackson
, as with the other parameters? On Mon, Aug 29, 2016 at 10:52 AM, Michael Jackson <mike.jack...@bluequartz.net> wrote: I have the following CMake file: set(QHull_GIT_REPO "git://github.com/qhull/qhull") set(QHull_GIT_TAG "") set(QHull_INSTALL_NAME "qhull")

[CMake] ExternalProject_Add not honoring the INSTALL_DIR argument.

2016-08-29 Thread Michael Jackson
I have the following CMake file: set(QHull_GIT_REPO "git://github.com/qhull/qhull") set(QHull_GIT_TAG "") set(QHull_INSTALL_NAME "qhull") set(QHull_INSTALL_NAME "qhull-2015.2") ExternalProject_Add(${QHull_INSTALL_NAME} PREFIX ${Fusion_SDK_ROOT} URL

[CMake] Example of using Visual Studio for Nightly Dashboard

2016-08-17 Thread Michael Jackson
Can anyone point my to a project, including scripts etc, that shows how to use Visual Studio as the build mechanism for a Visual Fortran project? My Problem is the following: I am generating a Visual Studio with Intel Fortran compiler (v16.x) from CMake but when I load the resulting sln file

[CMake] Qt 5.6.1 messes up Linux packaging using CPack?

2016-06-24 Thread Michael Jackson
I have a project that uses CMake. I had been compiling against Qt 5.6.0 for a while but due to issues with QWebEngine I installed Qt 5.6.1 instead and compiled against that. I can run my application from the build directory but when I go to use cpack to package my application I am getting the

Re: [CMake] Time Profile our CMake codes

2016-05-12 Thread Michael Jackson
many times more expensive than on other platforms - it could be the temp file I/O you are doing. On Thu, May 12, 2016 at 11:09 AM, Michael Jackson Michael Jackson <mailto:mike.jack...@bluequartz.net> May 12, 2016 at 12:09 PM Is there a way to "time profile" our cmake codes? We h

[CMake] Time Profile our CMake codes

2016-05-12 Thread Michael Jackson
Is there a way to "time profile" our cmake codes? We have noticed lately that running cmake on our project lately has taken a large uptick in time and we are trying to figure out where the newly added time is coming from. We do a lot of I/O writing temp files, comparing temp files to files

Re: [CMake] Install with full absolute path on OS X

2016-04-27 Thread Michael Jackson
ME_DIR ${CMAKE_INSTALL_PREFIX}/lib) Clint - On Apr 26, 2016, at 12:24 PM, Michael Jackson <mike.jack...@bluequartz.net> wrote: Michael Jackson <mailto:mike.jack...@bluequartz.net> April 26, 2016 at 2:24 PM I am building a library and installing onto the local system. After installa

[CMake] Install with full absolute path on OS X

2016-04-26 Thread Michael Jackson
I am building a library and installing onto the local system. After installation otool reports that the path is "@rpath/lib/libEMsoft.dylib" How can I have the installed path be the full absolute path to the library. For this use case @rpath is not going to work. I have tried

Re: [CMake] [cmake-developers] Drop support for older Xcode versions?

2016-02-07 Thread Michael Jackson
What is the oldest version of OS X that CMake actually runs on? I guess I would support the last version of Xcode that actually ran on that platform. In reality this is probably 10.6.8? But At the next major update of CMake (3.5 or 3.6) I would actually draw a line in the sand and pump that up

[CMake] FORTRAN name mangling

2016-01-11 Thread Michael Jackson
I am trying to integrate a FORTRAN library into our C++ project. I have used the following in our CMakeLists.txt file: include(CMakeAddFortranSubdirectory) cmake_add_fortran_subdirectory(src NO_EXTERNAL_INSTALL PROJECT EMSoftLib # project name in toplevel CMakeLists.txt in lapack

Re: [CMake] FORTRAN name mangling

2016-01-11 Thread Michael Jackson
lle <b...@classdesign.com> wrote: > > On 11/01/2016 17:58, Michael Jackson wrote: >> and we call the function from our C code like the following: >> >> >> SingleEBSDPattern_(ipar, fpar, ebsdPattern, quats, accum_e, mLPNH, mLPSH); >> > You need

Re: [CMake] FORTRAN name mangling

2016-01-11 Thread Michael Jackson
ou. > > I use Intel Fortran on Linux (v13-16) with bind(c) w/o issue. FWIW - I also > use the Portland Group (12+) and IBM Fortran (v14) compilers this way. > > -kt > > -Original Message- > From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Michael Jackson

[CMake] Using "Fixup_Bundle" on a single library?

2016-01-04 Thread Michael Jackson
During our packaging process one of our support libraries is getting missed for various reasons (severe edge case). Is it possible to use the “Fixup_bundle” CMake function with a single library? Or add that single library as an additional library that needs to be adjusted? Thanks -- Michael A.

Re: [CMake] still having rpath problems on osx

2015-12-27 Thread Michael Jackson
> On Dec 24, 2015, at 2:24 AM, Boudewijn Rempt <b...@valdyas.org> wrote: > > On Wed, 23 Dec 2015, Michael Jackson wrote: > >>> >>> Hm... Okay -- so, since I all my dependencies myself as cmake external >>> projects, I guess I want all

Re: [CMake] still having rpath problems on osx

2015-12-23 Thread Michael Jackson
> On Dec 23, 2015, at 12:02 PM, Boudewijn Rempt wrote: > > On Tue, 22 Dec 2015, clin...@elemtech.com wrote: > >> >> On Dec 21, 2015 12:26 PM, Boudewijn Rempt wrote: >>> >>> All libraries I link to are built. Some come with a cmake build system, >>> some

Re: [CMake] Known issues with Xcode 6.x and CMake

2015-10-21 Thread Michael Jackson
> On Oct 19, 2015, at 7:01 AM, Gregor Jasny via CMake <cmake@cmake.org> wrote: > > Hello, > > On 17/10/15 18:28, Michael Jackson wrote: >> Are there any known issues with Xcode 6.4 and CMake 3.3.x? I ask because in >> our project when we generate the Xc

[CMake] Known issues with Xcode 6.x and CMake

2015-10-17 Thread Michael Jackson
Are there any known issues with Xcode 6.4 and CMake 3.3.x? I ask because in our project when we generate the Xcode project we end up with 2 or 3 executables listed in the drop down combo box. We also end up with lots of duplicate targets in the Xcode project. And the first time I open an Xcode

[CMake] Multiple Executables for every target in Xcode

2015-10-06 Thread Michael Jackson
hello list, I am running Xcode (5 & 6) and using CMake to generate the Xcode project files. We have a lot of targets for our project and we were looking into ways of refactoring the Cmake codes in order to reduce the number of targets. For example we have a lot of plugins that we compile

Re: [CMake] fixup_bundles on macosx for non-.app target

2015-09-14 Thread Michael Jackson
hat script template. I'm also looking at the > source for BundleUtilities. It seems like it shouldn't be difficult to make a > module that provides the generic functionality across platforms. > >> On Sep 12, 2015, at 9:09 PM, Michael Jackson <mike.jack...@bluequartz.net>

Re: [CMake] fixup_bundles on macosx for non-.app target

2015-09-12 Thread Michael Jackson
I have a mix of .app and command line executables for our project on OS X. I wrote a templated .sh file that cmake uses to “configure_file()” by filling in details needed. The Script itself does the “fix up” stuff by running otool, parsing the output, looking for the libraries and then updating

Re: [CMake] Protobuf Libraries not found on OS X

2015-09-04 Thread Michael Jackson
l Schepler <dschep...@scalable-networks.com> wrote: > Doesn't CMAKE_PREFIX_PATH work for you? > -- > Daniel Schepler > From: CMake [cmake-boun...@cmake.org] on behalf of Michael Jackson > [mike.jack...@bluequartz.net] > Sent: Friday, September 04, 2015 10:33 AM > To: CMake

Re: [CMake] Protobuf Libraries not found on OS X

2015-09-04 Thread Michael Jackson
ed through homebrew. > > Nils > > On Thu, Sep 3, 2015 at 1:48 PM, Michael Jackson <mike.jack...@bluequartz.net> > wrote: > I have compiled the Protocol Buffer library on OS X and I am using the > following CMake code to try and find the compiled libraries: > &

[CMake] Protobuf Libraries not found on OS X

2015-09-03 Thread Michael Jackson
I have compiled the Protocol Buffer library on OS X and I am using the following CMake code to try and find the compiled libraries: find_package(Protobuf REQUIRED) but when configuring I get the usual CMake Error: The following variables are used in this project, but they are set to

Re: [CMake] Crawling documentation to find named argument keywords

2015-08-17 Thread Michael Jackson
I thought there used to be a DocBook version of the documentation? At one point I had an XML parser that used that as input to process the documentation in the same way. Mike Jackson On Aug 17, 2015, at 8:51 AM, Robert Dailey rcdailey.li...@gmail.com wrote: I've attached a python script I'm

Re: [CMake] [cmake-developers] CMake IR

2015-07-30 Thread Michael Jackson
On Jul 30, 2015, at 11:56 AM, Dan Kegel d...@kegel.com wrote: Am 30.07.2015 10:15 vorm. schrieb Bill Hoffman bill.hoff...@kitware.com: On 7/30/2015 10:48 AM, Dan Kegel wrote: I wouldn't mind getting rid of the cache, it's a bizarre concept that appears to be a workaround for

Re: [CMake] OS X framework headers with capital letters

2015-07-21 Thread Michael Jackson
to be very precise, OS X is a Case Preserving but NOT Case sensitive be default. OS X can be made to be case sensitive but no one actually recommends it. this means that on OS X foo.h and Foo.h resolve to be the same file, where as on Linux they would be 2 different files. You would have

Re: [CMake] OS X framework headers with capital letters

2015-07-21 Thread Michael Jackson
Well the definitely removes the case sensitivity issue. Do you have a compact example that shows the failure? I took a look in our project and we don't have any cases like this. I would find it a very odd and subtle bug it this really were an issue. one of those edge cases that just did not get

Re: [CMake] Setting CXX_STANDARD 11 Enables GNU Extensions

2015-07-05 Thread Michael Jackson
Is there a project wide CXX_STANDARD_REQUIRED that I can set? I am wanting to migrate our project to C++ 11 and would rather set something in the project root rather than find every place where our own and our customers plugin codes create a target. Thanks Mike Jackson On Jul 4, 2015, at 5:13

Re: [CMake] Setting CXX_STANDARD 11 Enables GNU Extensions

2015-07-05 Thread Michael Jackson
http://www.cmake.org/cmake/help/v3.2/variable/CMAKE_CXX_STANDARD_REQUIRED.html Best Regards Roman *Von:*CMake [mailto:cmake-boun...@cmake.org] *Im Auftrag von *Michael Jackson *Gesendet:* Sonntag, 05. Juli 2015 18:07 *An:* cmake@cmake.org *Betreff:* Re: [CMake] Setting CXX_STANDARD 11 Enables GNU

[CMake] Running CTest with Xcode build results in Error

2015-06-18 Thread Michael Jackson
We have a nightly build for our project as reported here http://my.cdash.org/viewBuildError.php?buildid=781789 which is producing an error. The short of it is that CTest is using xcodebuild (which is correct) but is trying to pass the “-j16” style that normal “MakeFiles” would use. I have

Re: [CMake] Running CTest with Xcode build results in Error

2015-06-18 Thread Michael Jackson
environment...) grep for just \-j -- the value 16 may come from a variable evaluation. HTH, David C. On Thu, Jun 18, 2015 at 8:51 AM, Michael Jackson mike.jack...@bluequartz.net wrote: We have a nightly build for our project as reported here http://my.cdash.org/viewBuildError.php?buildid

Re: [CMake] Running CTest with Xcode build results in Error

2015-06-18 Thread Michael Jackson
${_CMAKE_KATE_INITIAL_MAKE_ARGS And it looks like those try to restrict it to a make tool, so they shouldn't be using it in the case of xcodebuild... Mystery. We're missing something. On Thu, Jun 18, 2015 at 12:23 PM, Michael Jackson mike.jack...@bluequartz.net wrote: Nope. Neither one of those

Re: [CMake] Running CTest with Xcode build results in Error

2015-06-18 Thread Michael Jackson
your source tree for -j yet? On Thu, Jun 18, 2015 at 3:17 PM, Michael Jackson mike.jack...@bluequartz.net wrote: I will have to admit that I don't pretend to completely understand the CMake file that I am using as I started with something from VTK and changed things to work with our project

Re: [CMake] Running CTest with Xcode build results in Error

2015-06-18 Thread Michael Jackson
And I will follow that up quickly with .. it was buried down in our project….. Thanks for the help. Mike J. On Jun 18, 2015, at 3:45 PM, Michael Jackson mike.jack...@bluequartz.net wrote: Found the source. the generated CTestConfig.cmake is the following: ## This file should be placed

Re: [CMake] Xcode project generation failed

2015-06-17 Thread Michael Jackson
On Jun 16, 2015, at 3:27 PM, Gregor Jasny gja...@googlemail.com wrote: Hello, I applied some fixes to what becomes CMake 3.3. could you please test the release candidate? On 16/06/15 16:27, Michael Jackson wrote: Running OS X 10.8.5 with Xcode 5.1.1 and Cmake 3.2.x and 3.3.RC

[CMake] Xcode project generation failed

2015-06-16 Thread Michael Jackson
Running OS X 10.8.5 with Xcode 5.1.1 and Cmake 3.2.x and 3.3.RC and neither generate a Xcode project file that can be opened by Xcode. We get valid Ninja and Makefile projects for our project. I was wondering if anyone else has seen this issue. Not sure if there is something in our project that

Re: [CMake] [ANNOUNCE] CMake 3.3.0-rc1 is now ready!

2015-06-08 Thread Michael Jackson
We are very interested in using the include-what-you-use functionality. Is there a wiki page or something that can help us get all the dependencies setup, compiled and working. Thanks Mike Jackson -Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert

[CMake] Trouble getting install script to actually run during packaging

2015-05-14 Thread Michael Jackson
I have a bit of Cmake code that I can not seem to figure out how to get to actually run during cpack. HEre is the code: GET_FILENAME_COMPONENT (SELF_DIR ${CMAKE_CURRENT_LIST_FILE} PATH) configure_file(${SELF_DIR}/Deploy_ITK_Libs.sh.in

  1   2   3   4   5   6   7   8   9   >