Re: [CMake] HP-UX ia64 (32bit) port

2019-07-01 Thread Bill Hoffman
Can you run a nightly dashboard for CMake on this HW?  It would be the only way these changes would continue to work into the future. On 6/28/2019 6:24 PM, Earle Lowe wrote: I have made an HP-UX port for CMAKE 3.15 It's not entirely optimal, because I took a small shortcut on fsevents in

Re: [CMake] After working for a well over a year my cmake has suddenly stopped working, CMake Gui now fails to configure any project with the error..

2019-01-10 Thread Bill Hoffman via CMake
It could also be this issue: https://developercommunity.visualstudio.com/content/problem/399774/visual-studio-2019-preview-1-running-cmake-on-comm.html Do  you have Visual Studio 2019 installed? On 1/4/2019 1:46 PM, 2GooD Productions wrote: Selecting Windows SDK version 10.0.17763.0 to

Re: [CMake] After working for a well over a year my cmake has suddenly stopped working, CMake Gui now fails to configure any project with the error..

2019-01-10 Thread Bill Hoffman via CMake
In the build trees, is there any more information in CMakeFiles/CMakeOutput.log or CMakeFiles/CMakeError.log? Is your VS able to build things without CMake? -Bill On 1/4/2019 1:46 PM, 2GooD Productions wrote: Selecting Windows SDK version 10.0.17763.0 to target Windows 6.3.9600.

Re: [CMake] Can CXX_CLANG_TIDY use .clang-tidy file?

2018-12-10 Thread Bill Hoffman via CMake
On 12/8/2018 7:47 PM, Mateusz Loskot wrote: Hi, Am I correct clang-tidy run via CXX_CLANG_TIDY ignores .clang-tidy configuration file? I've tried number of ways to help it find the file, i.e. copied the file to binary directories from where it seems run via usr/local/bin/cmake -E

Re: [CMake] Problem with using CMake on Windows with Visual Studio 2017

2018-10-26 Thread Bill Hoffman
Yes, if you could run "set" from the command prompt and post the output here. |C:\Jinja2Cpp\build>set| That might show if you have something odd in your environment.  I am guessing you have LDFLAGS  set which CMake picks up and uses as a linker flag. On 10/26/2018 1:16 PM, Michael Ellery

Re: [CMake] Happy Birthday CMake!

2018-09-10 Thread Bill Hoffman
On 9/2/2018 6:54 PM, Alan W. Irwin wrote: And thanks to you for coming up with such a useful tool in the first place! Can you recommend a site that gives a (fairly) short history of CMake that at least lists the most fundamental changes made to this software since its inception?  For

Re: [cmake-developers] [CMake] Happy Birthday CMake!

2018-09-10 Thread Bill Hoffman
On 9/2/2018 6:54 PM, Alan W. Irwin wrote: And thanks to you for coming up with such a useful tool in the first place! Can you recommend a site that gives a (fairly) short history of CMake that at least lists the most fundamental changes made to this software since its inception?  For

[CMake] Happy Birthday CMake!

2018-08-31 Thread Bill Hoffman
http://public.kitware.com/pipermail/insight-developers/2000-August/024248.html Thanks to everyone that has contributed or used CMake! -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various

[cmake-developers] Happy Birthday CMake!

2018-08-31 Thread Bill Hoffman
http://public.kitware.com/pipermail/insight-developers/2000-August/024248.html Thanks to everyone that has contributed or used CMake! -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various

Re: [CMake] find_library doesn't find .dll on windows

2018-06-05 Thread Bill Hoffman
On 6/1/2018 6:30 PM, Romain LEGUAY wrote: Thank you for your answer. I just want to find the file libmysql.dll because it's needed to be used with Qt (unless I did not understand how to use Qt's MySQL driver). For now, I just do a simple copy of this file in my build folder, but it's not a

Re: [CMake] cpp macro

2018-06-05 Thread Bill Hoffman
With the makefile generator you can do make foo.cxx.i.  Sadly this feature never made it into ninja.  If you run make help it shows the targets available.  With VS IDE you can right click on a file and get it to preprocess the file. -Bill -- Powered by www.kitware.com Please keep messages

Re: [cmake-developers] Using CMake to build big projects with cross-dependencies

2018-05-17 Thread Bill Hoffman
On 5/17/2018 11:46 AM, Brad King wrote: On 05/17/2018 05:56 AM, Kinga Kasa wrote: cmake running for hours and hours (stuck at saying Configuring done, eventually it will finish, but it runs for hours). That's not expected. Even on projects with tens of thousands of source files and thousands

Re: [CMake] rebuild_cache does not fully rebuild the cache information

2018-05-09 Thread Bill Hoffman
On 5/9/2018 4:42 AM, Nils Rathmann wrote: Hi, when I change the installation of external dependencies, which are located by find_packages, it seems, that it is not enough to run rebuild_cache. The information about external software is not thrown away and rebuild. I have to delete the 

Re: [CMake] using ExternalProject_Add when cmake is launched

2018-05-03 Thread Bill Hoffman
On 5/2/2018 4:47 AM, Petr Kmoch wrote: Hi Stephane. ExternalProject is designed to run at *build* time, not at *CMake* time. It is not really intended for mixing with normal, non-ExternalProject targets (such as those created by add_library). When using ExternalProject, the canonical form

Re: [CMake] Generating MSVS solution files that can be passed around

2018-04-23 Thread Bill Hoffman
One thing to consider is that MS is now shipping CMake as part of VS.  So, if you can get your project to work with that version of VS, you should be all set. In fact you can have people just open the project and MS VS will run CMake for you. -Bill -- Powered by www.kitware.com Please keep

Re: [CMake] CTest extra tests

2018-03-20 Thread Bill Hoffman
Must be coming from some macro, cmake does not automatically add any tests. You could run cmake --trace and look at the output and find out where the add_test call is coming from. On Sun, Mar 18, 2018 at 5:39 PM, Adam Getchell wrote: > Hello all, > > I’m running into

Re: [CMake] Bug on Windows with Intel Fortran

2018-02-26 Thread Bill Hoffman
On 2/23/2018 10:59 AM, Anthony Zukaitis wrote: On windows I found an issue with Visual studio where intel fortran was attempting to preprocess lowercase .f90 files.  Intel's documentation states that it does not preprocess these files.  Looking into the cmake source code I found: in

[CMake] Free CMake course at Kitware Headquarters March 13-15, 2018 at Kitware's Clifton Park, NY, USA

2018-02-06 Thread Bill Hoffman
Kitware is offering a free course on VTK/ParaView/CMake March 13-15, 2018 at Kitware's Clifton Park, NY, USA. The signup can be found here: https://docs.google.com/forms/d/e/1FAIpQLSeee7oTBzapITmark0dIX0E86zEyyPmh-LEbecz2zm_822WFw/viewform Hope to meet some of you in person. -Bill --

[cmake-developers] Free CMake course at Kitware Headquarters March 13-15, 2018 at Kitware's Clifton Park, NY, USA

2018-02-06 Thread Bill Hoffman
Kitware is offering a free course on VTK/ParaView/CMake March 13-15, 2018 at Kitware's Clifton Park, NY, USA. The signup can be found here: https://docs.google.com/forms/d/e/1FAIpQLSeee7oTBzapITmark0dIX0E86zEyyPmh-LEbecz2zm_822WFw/viewform Hope to meet some of you in person. -Bill --

Re: [CMake] FortranCInterface not working with 3.9.0 with Intel 2015

2017-12-10 Thread Bill Hoffman
dy defined in MSVCRT.lib(MSVCR120.dll) LIBCMT.lib(mlock.obj) : error LNK2005: _lock already defined in MSVCRT.lib(MSVCR120.dll) LIBCMT.lib(mlock.obj) : error LNK2005: _unlock already defined in MSVCRT.lib(MSVCR120.dll) -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065

Re: [CMake] FortranCInterface not working with 3.9.0 with Intel 2015

2017-12-04 Thread Bill Hoffman
---*/ /* Mangle some symbols automatically.   */ #endif Any help appreciated..John Cary -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com http://www.kitware.com 518 881-4905 (Direct) 518 371-

Re: [CMake] FortranCInterface not working with 3.9.0 with Intel 2015

2017-11-30 Thread Bill Hoffman
On 11/26/2017 6:29 PM, JR Cary wrote: Works with 3.8.2. Does it work with 3.10? Also, look in the CMakeFiles/CMakeError.log file to find out why this happened: - Detecting Fortran/C Interface - Failed to compile. -Bill -- Powered by www.kitware.com Please keep messages on-topic and check

Re: [cmake-developers] Make it easier for beginners

2017-10-22 Thread Bill Hoffman
On 10/21/2017 10:56 AM, Lectem wrote: _Question :_ Would it possible to delete the wiki, or reset/reopen it ? _Reason:_ The wiki is full of old stuff, but we can't register to edit stuff. Still, people willing to learn will end up visiting it, thinking it gives good advice. "How could it not

Re: [CMake] Adding compile and build type tests to CMake/CTest

2017-09-14 Thread Bill Hoffman
this conversation to the cmake-developers list where we can discuss the particulars of the interface and implementation. Then we can figure out how to get it implemented. Edward, did you want to start the discussion on the cmake-developers list? Thanks. -Bill -- Bill Hoffman Kitware, Inc. 28

Re: [cmake-developers] C++ IDE

2017-08-18 Thread Bill Hoffman
On 8/18/2017 9:37 AM, Jean-Michaël Celerier wrote: IMHO, Visual Studio's CMake integration is a joke in comparison to QtCreator and CLion. Microsoft has been working to fix that. https://blogs.msdn.microsoft.com/vcblog/2016/10/05/cmake-support-in-visual-studio/ MS is shipping a version of

Re: [cmake-developers] Future of ccmake and cmake-gui and internationalization

2017-08-17 Thread Bill Hoffman
On 8/17/2017 12:11 PM, Eric Wing wrote: Oddly, I don't have any direct experience with FLTK even though I've known about it for years. The projects I get involved with usually need a lot more native UI integration, so FLTK is never on the list. And I personally prefer native UI experience. But

[CMake] Kitware is hiring

2017-07-25 Thread Bill Hoffman
Kitware is currently looking for a software developer in our Clifton Park NY office. We are looking for someone with C++ and CMake experience. Here is the job posting: https://www.smartrecruiters.com/kitware/743999656184083-software-developer Thanks. -Bill -- Bill Hoffman Kitware, Inc

Re: [CMake] Compiling Fortran on IBMs XL

2017-06-08 Thread Bill Hoffman
On 6/8/2017 5:13 AM, Matthias Redies wrote: I believe my Error was discussed in: http://public.kitware.com/pipermail/cmake/2015-January/059522.html and solved here: http://public.kitware.com/pipermail/cmake/2015-January/059547.html

Re: [CMake] Tracing ctest crash on windows

2017-01-05 Thread Bill Hoffman
On 1/5/2017 9:32 AM, Jakob van Bethlehem wrote: CTest is not some magical tool that internally runs your test or something like that - instead CTest just fires up your test executable and does clever things with the output. In the same way you can just set your test project as startup-project,

Re: [CMake] What are the missing features in Ninja that CMake needs?

2016-12-19 Thread Bill Hoffman
On 12/18/2016 8:57 AM, David Cole via CMake wrote: This "compare" view on GitHub shows the difference between the regular/upstream ninja and the Kitware patched ninja: https://github.com/ninja-build/ninja/compare/master...Kitware:features-for-fortran The ReadMe explains the high-level

Re: [cmake-developers] Disabling leaks check when using Address Sanitizer

2016-12-16 Thread Bill Hoffman
On 12/16/2016 7:55 AM, Brad King wrote: It looks like this was added in commit 44726714322ca0b75628e234229f4583a480d7ec when support for asan was first added. Bill, do you recall why? I don't recall exactly. I guess I figured if you were running asan you might as well check for leaks as well.

Re: [CMake] Ninja+Fortran support for PGI compiler

2016-12-16 Thread Bill Hoffman
On 12/16/2016 8:38 AM, Brad King wrote: Great! I'll integrate that for CMake 3.8. Daniel, do you think you could setup a dashboard so this stays working? https://cmake.org/testing/ -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] CXX_CLANG_TIDY doesn't handle multiple arguments correctly

2016-11-16 Thread Bill Hoffman
On 11/16/2016 5:01 PM, Nikita wrote: It works for me with '-fix' as well. However, it doesn't work with "-warnings-as-errors", '-header-filter', and '-line-filter'. The problem is definitely not in semicolons. It is the * that causes trouble. -Bill -- Powered by www.kitware.com Please keep

Re: [CMake] Relinking with Ninja broken in 3.7.0

2016-11-16 Thread Bill Hoffman
On 11/16/2016 11:36 AM, Mika Fischer wrote: I get the following error even though I'm on Linux and thus an ELF-based platform. This breaks all our builds... `The install of the target requires changing an RPATH from the build tree, but this is not supported with the Ninja generator unless on

Re: [CMake] additional arguments with CMAKE_CXX_CLANG_TIDY variable

2016-11-08 Thread Bill Hoffman
On 11/8/2016 11:20 AM, Michael Ellery wrote: /usr/local/Cellar/cmake/3.6.2/bin/cmake -E __run_iwyu --tidy="/usr/local/opt/llvm38/bin/clang-tidy-3.8;-checks=*" --source=/Users/ellery/work/. That should still work. It is passing that to -E __run_iwyu which should expand the arguments.

Re: [CMake] Single Letter Omissions From File Path In Linker

2016-10-17 Thread Bill Hoffman
e the way the filepath is being constructed is incorrect. But I don't think you've really provided enough information to determine the problem. Where does the name of the object file come from? -- Andrew Bell andrew.bell...@gmail.com <mailto:andrew.bell...@gmail.

Re: [CMake] Single Letter Omissions From File Path In Linker

2016-10-14 Thread Bill Hoffman
On 10/14/2016 10:04 AM, Randy Turner wrote: Hello! I've been running into a frustrating issue on and off for the past year. The project will build the source files correctly but when it comes to linking the executables, I always get the same error. The specific file varies, but the failure mode

Re: [cmake-developers] Android Support

2016-09-26 Thread Bill Hoffman
On 9/26/2016 5:50 PM, David Neto via cmake-developers wrote: I agree. I work for Google but not in this area, and I don't know who is doing this support. I suspect this is just an accidental duplication of effort. I've pinged someone to see about finding the right person to coordinate with.

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

2016-09-22 Thread Bill Hoffman
On 9/22/2016 1:58 PM, Michael Jackson wrote: 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

[Cmake-commits] CMake branch, next, updated. v3.6.2-1922-gf8fc47d

2016-09-09 Thread Bill Hoffman
e: e0aa392 e42471b Author: Bill Hoffman <bill.hoff...@kitware.com> AuthorDate: Fri Sep 9 16:53:44 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Fri Sep 9 16:53:44 2016 -0400 Merge topic 'extend_matlab_unit_test' into next e42471b9 remove st

[Cmake-commits] CMake branch, next, updated. v3.6.1-1700-ge623fc9

2016-09-01 Thread Bill Hoffman
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e623fc98ca6bfeb4f4fda75b21542aefbcefd78b commit e623fc98ca6bfeb4f4fda75b21542aefbcefd78b Merge: 1ec2259 48b32fa Author: Bill Hoffman <bill.hoff...@kitware.com> AuthorDate: Thu Sep 1 16:34:37 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.1-1663-g908cfab

2016-08-31 Thread Bill Hoffman
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=908cfab96a7cb0edbde586e6b31d28f36623577f commit 908cfab96a7cb0edbde586e6b31d28f36623577f Merge: c01d364 ca0497c Author: Bill Hoffman <bill.hoff...@kitware.com> AuthorDate: Wed Aug 31 11:24:16 2016 -0400 Commit:

Re: [CMake] Using clang-tidy with cmake 3.6.0

2016-07-20 Thread Bill Hoffman
On 7/20/2016 4:02 PM, Robert Maynard wrote: I believe the correct form is: set_target_properties(example PROPERTIES CXX_CLANG_TIDY "${path_to_tidy} -some -args") No, that won't work. You want it to be a semi-colon separated list of arguments. Not space separated.

Re: [CMake] best way to handle subdirectory libraries ?

2016-07-12 Thread Bill Hoffman
On 7/12/2016 2:11 PM, Dan Ibanez wrote: Other projects have a whole system atop CMake that manages this. I'm trying to get a sense of what the "best" setup looks like using pure CMake. See Usage Requirements: https://cmake.org/cmake/help/v3.0/manual/cmake-buildsystem.7.html#id10

Re: [CMake] CTest periodic freeze under MacOS

2016-06-27 Thread Bill Hoffman
On 6/27/2016 5:57 AM, ycollette.nos...@free.fr wrote: I forgot to say that the cmake version installed on macos is 3.4.3. Can you try a more recent version of cmake? -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

[Cmake-commits] CMake branch, next, updated. v3.6.0-rc2-350-gc3e9f73

2016-06-16 Thread Bill Hoffman
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c3e9f7396581ff316be231fdd85bb0dfd2503596 commit c3e9f7396581ff316be231fdd85bb0dfd2503596 Merge: 6ba4954 d0adee7 Author: Bill Hoffman <bill.hoff...@kitware.com> AuthorDate: Thu Jun 16 14:13:24 2016 -0400 Commit:

[Cmake-commits] CMake branch, next, updated. v3.6.0-rc1-222-g74ee264

2016-06-10 Thread Bill Hoffman
e: c025380 89ae032 Author: Bill Hoffman <bill.hoff...@kitware.com> AuthorDate: Fri Jun 10 10:31:43 2016 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Fri Jun 10 10:31:43 2016 -0400 Merge topic 'link_what_you_use' into next 89ae032f use inlin

Re: [CMake] CMake v3.6.0 rc1

2016-06-09 Thread Bill Hoffman
On 6/8/2016 6:02 PM, Gonzalo Garramuño wrote: I tried v3.6.0 rc1 but it fails on linking with a message about unknown symbols when doing cmake -E vs_link_dll on a windows library. It seems not to recognize the symbols in, for example, tinyxml2. The same code works just fine under cmake v3.5.2.

Re: [CMake] [EXTERNAL] Re: Get ctest -S script to pull from git branch other than 'master'?

2016-06-08 Thread Bill Hoffman
On 6/8/2016 12:59 PM, Bartlett, Roscoe A wrote: Xavier, Thanks for the info. I got another email from Brad King and he also pointed out the same thing: https://cmake.org/cmake/help/v3.6/command/ctest_start.html#command:ctest_start and then Brad updated the documentation for

Re: [CMake] CPack with BZIP2 is a lot slower than GNU tar

2016-06-02 Thread Bill Hoffman
On 6/2/2016 5:29 AM, Alessio wrote: I'm comparing the following two things: 1. cpack TBZ2 generator 2. "tar cjf" the same files as with cpack. (j option = BZIP2 compression) I cannot avoid CPack. It takes care of way too many little details of the packaging. Obviously we use it via lots of

Re: [CMake] ExternalProject_Add + imported targets: no rule to make yourlibrary.so

2016-05-03 Thread Bill Hoffman
On 4/28/2016 4:31 PM, SnakE wrote: set_target_properties(foo PROPERTIES IMPORTED_LOCATION foo.so) https://cmake.org/cmake/help/v3.0/prop_tgt/IMPORTED_LOCATION.html?highlight=imported_location "Full path to the main file on disk for an IMPORTED target." You need to use a full path to foo.so,

Re: [CMake] Unable to download cmake-3.5.1 (a 403 error)

2016-04-13 Thread Bill Hoffman
On 4/13/2016 12:40 PM, Asiga Nael via CMake wrote: Hi, I'm trying to download the file cmake-3.5.1-Darwin-x86_64.dmg but it brings me to a page at public.kitware.com with a 403 error: "Permission Denied You do not have permission to retrieve the URL or link you requested." Is there any

Re: [CMake] CMake download blocked by Google Chrome

2016-04-11 Thread Bill Hoffman
On 4/10/2016 10:40 AM, Raymond Wan wrote: Google seems to have marked it as "partially dangerous". Of course, Google could be wrong -- I think this filter list is maintained automatically and maybe they got the criteria wrong this time. We are looking into this. We have had false positives in

Re: [cmake-developers] Parallel ctest issues on the MinGW-w64/MSYS2 platform

2016-03-29 Thread Bill Hoffman
On 3/29/2016 5:34 PM, Alan W. Irwin wrote: In any case, whatever the issue is, Arjen appears (so far) to have found a reliable reproducer with the -j option for ctest. So I hope others here try the -j option for ctest on MinGW-w64/MSYS2 platforms for their favorite projects to get a better idea

Re: [CMake] Best way to show/include CMake files in IDE

2016-03-08 Thread Bill Hoffman
hose files will ignore them and IDEs that want them will use them. -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com http://www.kitware.com 518 881-4905 (Direct) 518 371-3971 x105 Fax (518) 371-4573 -- Powered by www.kitware.com Please kee

Re: [CMake] Is there any way to use clang-cl with MSBuild on Windows?

2016-01-29 Thread Bill Hoffman
On 1/29/2016 1:04 PM, Yi-Hong Lyu wrote: Hello everyone, I am a newbie of CMake. I would like to use clang-cl with MSBuild on Windows. However it always use MSVC 19.0.23506.0 as the identified compiler even I defined CMAKE_C_COMPILER / CMAKE_CXX_COMPILER / CMAKE_C_COMPILER_FORCED /

Re: [CMake] WINDOWS_EXPORT_ALL_SYMBOLS

2016-01-27 Thread Bill Hoffman
On 1/26/2016 12:51 PM, Bill Hoffman wrote: I am running the community edition... Maybe there is some difference with express? One other question, did you build 64 or 32 bit? -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org

Re: [CMake] WINDOWS_EXPORT_ALL_SYMBOLS

2016-01-26 Thread Bill Hoffman
On 1/26/2016 5:12 AM, Micha Renner wrote: It prevents that I can link the library to a program since there is no __local_stdio_printf_options etc. May be there exists an explanation. Greetings Michael cmake 3.4.2 Windows 10 VS Express 15 So, I am able to get this to work with Visual Studio

Re: [CMake] ExternalProject not being configured / custom_command not executed

2016-01-21 Thread Bill Hoffman
On 1/21/2016 2:33 PM, Kügler, David wrote: Hello everybody, I am trying to build a Project (via ExternalProject from a parent project). More precisely, I want to build the plus Toolkit (plustoolkit.org) and the subprojects using the build “superproject” (i.e. PlusBuild). It partly seems to

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-18 Thread Bill Hoffman
On 1/15/2016 7:19 PM, mozzis wrote: Well, CMAKE is the thing that is conflating this idea of a “generator” (which is clearly a concept in CMAKE’s own domain of “build configuration generator”) with the idea of “platform” or “architecture” (which is a concept in the domain of certain kinds of

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-15 Thread Bill Hoffman
On 1/15/2016 11:26 AM, mozzis wrote: You can not change the generator. It is better to remove the entire build tree. Out of source builds are a best practice with CMake. Once a build tree has been configured with one compiler, it must be completely removed to change to a new compiler

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-15 Thread Bill Hoffman
On 1/15/2016 2:41 PM, Greg Marr wrote: You can do both in the same solution/projects with the Microsoft fork of CMake, but it's not a general solution, and it doesn't handle different settings for 32 bit and 64 bit. Because of that, they're "not pushing too hard" for it to be in mainline CMake.

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-14 Thread Bill Hoffman
On 1/14/2016 3:02 PM, mozzis wrote: I was able to edit CMakeCache.txt and CPackConfig.cmake (with CMake GUI closed) I changed CMAKE_GENERATOR:INTERNAL=Visual Studio 10 2010 Win64 to CMAKE_GENERATOR:INTERNAL=Visual Studio 10 2010 and then in general looked for the string "64" and made

Re: [CMake] FORTRAN name mangling

2016-01-11 Thread Bill Hoffman
On 1/11/2016 2:31 PM, Zaak Beekman wrote: Happy hacking! FYI: There is a longer version of that blog found here: http://www.netlib.org/lapack/lawnspdf/lawn270.pdf bind(c) sounds like a good idea if your compilers support it. -Bill -- Powered by www.kitware.com Please keep messages on-topic

Re: [CMake] get_prerequisites() - fails with No such file or directory

2016-01-06 Thread Bill Hoffman
On 1/6/2016 6:14 AM, roze...@volny.cz wrote: When get_prerequisites() is not called, the build works correctly. So, did I do anything wrong? get_prerequisites needs to be called at install time and not CMake time. Look at install(CODE "") -Bill -- Powered by www.kitware.com Please keep

Re: [CMake] Parallel jobs failed for cmake

2015-12-14 Thread Bill Hoffman
On 12/14/2015 1:34 AM, Igor Sobinov wrote: Thanks, that's clear. So, If I write in makefile No not really clear. The problem is NOT in your makefile. The problem is in your custom command that calls make again. That is where the problem is. In your custom command (which you have not

Re: [CMake] Parallel jobs failed for cmake

2015-12-11 Thread Bill Hoffman
On 12/11/2015 7:24 AM, Igor Sobinov wrote: Hello Bill, yes, make release is a custom command but that's not important. I do the following: # cd /home/igor/build_root/release_target # make release -j5 Yes, it is important, it is the reason it is not working. The custom command needs to use

Re: [CMake] Parallel jobs failed for cmake

2015-12-10 Thread Bill Hoffman
On 12/10/2015 12:19 AM, Igor Sobinov wrote: igor 5460 0.0 0.0 101152 972 pts/3 S+ 08:10 0:00 | \_ make build_release -j5 igor 5466 0.0 0.0 106096 1164 pts/3 S+ 08:10 0:00 | \_ /bin/sh -c cd /home/igor/build_root/release_target; make release igor 5467 0.0 0.0 101184 1060 pts/3 S+ 08:10 0:00 | \_

Re: [CMake] How to generate for Ninja + MSVC?

2015-12-03 Thread Bill Hoffman
On 12/2/2015 10:39 PM, iosif neitzke wrote: Ah, okay, thanks. From cmake-gui the solution equivalent would be selecting the Ninja generator but specifying native compilers (cl.exe for this example) instead of using the default native compilers? . Yes, that would work as well. As long as

Re: [CMake] How to generate for Ninja + MSVC?

2015-12-02 Thread Bill Hoffman
On 12/2/2015 2:39 PM, Robert Dailey wrote: For some reason Strawberry Perl installed gcc/g++ to my PATH. I removed this and it's finding MSVC 19 now. Thanks. Could also set CC and CXX to cl before running CMake. -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065

Re: [CMake] How to generate for Ninja + MSVC?

2015-12-02 Thread Bill Hoffman
On 12/2/2015 8:22 PM, iosif neitzke wrote: Isn't this what Generator Toolset selection is for? ex. cmake -G Ninja -T v140 http://cmake.blogspot.com/2013/05/cmake-2811-available-for-download.html No, that is for telling the VS IDE which tool set to use. It has no effect on the Ninja

Re: [CMake] actually using cmake alternative to convenience libraries

2015-11-20 Thread Bill Hoffman
On 11/17/2015 2:46 PM, Jack Stalnaker wrote: I read about those, but they don't seem to provide a way to add linked in libraries, so it didn't seem to add a lot over a list of sources. In autotools, you could bind your convenience lib with any dependencies via a LIBADD primary, and the added

[Cmake-commits] CMake branch, next, updated. v3.4.0-1441-gacb550c

2015-11-19 Thread Bill Hoffman
ow. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=acb550c33e9b1c6a19fb7fb9d691bd45bd8ec795 commit acb550c33e9b1c6a19fb7fb9d691bd45bd8ec795 Merge: e8f8a08 7500428 Author: Bill Hoffman <bill.hoff...@kitware.com> AuthorDate: Thu Nov 19 17:24:20 2015 -0500 Commit:

Re: [CMake] actually using cmake alternative to convenience libraries

2015-11-17 Thread Bill Hoffman
of the common libs and their dependencies in the first place. Is this the right way to work, or am I missing something simple? There is a new feature to do that: https://cmake.org/Wiki/CMake/Tutorials/Object_Library -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff

Re: [CMake] CMake on OpenVMS - Bootstrap CMake complaining that “pid_t doesn’t exist on this platform?”

2015-11-02 Thread Bill Hoffman
On 11/1/2015 4:19 PM, Custin, Jay (CSC Sw Middleware) wrote: Anyone have any ideas? Look in the CMakeError.log file and find out why it is not finding pid_t. -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Re: [CMake] CMake on OpenVMS - Apparent roadblock buried within cmake-3.3.2\Tests\CMakeLists.txt

2015-10-30 Thread Bill Hoffman
On 10/30/2015 11:18 AM, Custin, Jay (CSC Sw Middleware) wrote: Interrupting/preventing the automatic execution of the bootstrapped CMake in the end of the bootstrap script and then try to execute it from the shell prompt using the same basic switches I used for the "simple" project above. This

Re: [CMake] The project files that CMake generates can't be moved

2015-10-30 Thread Bill Hoffman
On 10/30/2015 1:48 PM, Attila Krasznahorkay wrote: I'm a bit surprised about this answer. Sure, build areas are not to be moved around. I completely agree. But this is why we have the concept of installing releases. As long as you configure your build correctly, you should be able to move

Re: [CMake] CMake on OpenVMS - Apparent roadblock buried within cmake-3.3.2\Tests\CMakeLists.txt

2015-10-28 Thread Bill Hoffman
like: project(foo) add_library(foo foo.c) foo.c can be an empty file. Does the bootstrapped cmake work on that project? What about what triggers the creation of the bin folder? I would not worry about that yet. -Bill -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065

Re: [CMake] CMake on OpenVMS - watching CMake build process run through its enormous number of self-tests!!!!

2015-10-02 Thread Bill Hoffman
On 10/2/2015 12:40 PM, Custin, Jay (CSC Sw Middleware) wrote: Cautiously optimistic… Staring at my terminal session watching self-tests execute… Hey, that is cool. Hopefully when you are done you can setup a dashboard so we can make sure the changes you put into CMake work into the future.

Re: [CMake] Build log generation in a "custom" way

2015-09-24 Thread Bill Hoffman
On 9/24/2015 7:47 AM, Attila Krasznahorkay wrote: Dear All, I'd like to ask for some advice about the following issue. We're migrating a very big project (millions of lines of code...) from a custom build manager to CMake. The software is put together from separate "packages" that are all

Re: [CMake] "Pre-configure" step in CMake

2015-09-24 Thread Bill Hoffman
On 9/24/2015 4:26 PM, Matthäus G. Chajdas wrote: Hi, that sounds like it would do the trick. I wasn't aware that execute_process will block the script until it's done executing. Need to check this out but that definitely looks like the way to go, thanks! ExternalProject might be a better

Re: [CMake] "Pre-configure" step in CMake

2015-09-24 Thread Bill Hoffman
On 9/24/2015 5:02 PM, Matthäus G. Chajdas wrote: Hi, how does the ExternalProject interact with subsequent find_library calls? I've seen projects building dependencies through ExternalProject, but those would the project manually by querying ExternalProject and adding a new imported target.

Re: [CMake] Continued issues in trying to get CMake working on OpenVMS

2015-09-21 Thread Bill Hoffman
On 9/21/2015 11:29 AM, Custin, Jay (CSC Sw Middleware) wrote: I will try adding that option and see what it may reveal... the output contained in the CMakeOutput.log and CMakeError.log offered nothing other than politely telling me the test failed. That is odd... It should have the

Re: [CMake] Continued issues in trying to get CMake working on OpenVMS

2015-09-21 Thread Bill Hoffman
On 9/21/2015 10:17 AM, Custin, Jay (CSC Sw Middleware) wrote: This gets made even more frustrating in that it appears that the testing phase does a VERY good job cleaning up after itself... So, the output should all be in CMakeOutput.log and CMakeError.log found in the build tree in the

Re: [CMake] Parallel builds

2015-09-16 Thread Bill Hoffman
http://www.kitware.com/blog/home/post/434 -Bill -- 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:

Re: [CMake] Parallel builds

2015-09-16 Thread Bill Hoffman
On 9/16/2015 1:47 PM, J Decker wrote: I see yer right. Details get foggy after years. well that's something to add:) All covered my blog. :) -Bill -- 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] Parallel builds

2015-09-16 Thread Bill Hoffman
On 9/16/2015 2:06 PM, Greg Marr wrote: This part here is inaccurate, at least with the current CMake and Visual Studio: "To set the flag you will have to edit the CMake cache with the cmake-gui and add it to the CMAKE_CXX_FLAGS and the CMAKE_C_FLAGS." This is all we do in the CMake file that we

[Cmake-commits] CMake branch, next, updated. v3.3.1-2853-ge6cc5a9

2015-09-10 Thread Bill Hoffman
ow. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e6cc5a9fff4689e8b0818e0a21f59f65f1ce7fd3 commit e6cc5a9fff4689e8b0818e0a21f59f65f1ce7fd3 Merge: 54329e1 5487b1b Author: Bill Hoffman <bill.hoff...@kitware.com> AuthorDate: Thu Sep 10 17:16:13 2015 -0400 Commit:

Re: [CMake] CMake on OpenVMS (some clarification)

2015-09-04 Thread Bill Hoffman
On 9/4/2015 9:42 AM, Custin, Jay (CSC Sw Middleware) wrote: While I specifically want this on OpenVMS/Integrity (V8.3 or higher), I have not tried this on an Alpha yet (vast majority of the coding/builds I do involve the Integrity platform). It took some manual editing of files, etc. to get

Re: [CMake] Patch on Windows?

2015-09-01 Thread Bill Hoffman
On 9/1/2015 11:51 AM, Macumber, Daniel wrote: There was a thread back in January of 2014 about “It would be great if CMake implemented a "cmake -E patch".”. This feature would really help us out, especially since the patch tool was removed from the Git for Windows distribution (I have no idea

[CMake] Happy Birthday CMake!

2015-08-31 Thread Bill Hoffman
Today is the 15th birthday of CMake: http://www.kitware.com/blog/home/post/959 Thanks to everyone that has used and contributed to CMake over the years! -Bill -- 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-developers] Happy Birthday CMake!

2015-08-31 Thread Bill Hoffman
Today is the 15th birthday of CMake: http://www.kitware.com/blog/home/post/959 Thanks to everyone that has used and contributed to CMake over the years! -Bill -- 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] Prefix header for Makefiles

2015-08-26 Thread Bill Hoffman
CMake does not really support this. At build time CMake scans the source files and builds the depend list. Since your file is not actually included it does not end up in the depend list. To add this as a feature you would have to put the information into DependInfo.cmake and have

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

2015-07-31 Thread Bill Hoffman
On 7/31/2015 12:33 PM, Ruslan Baratov wrote: rm -rf _builds cmake -H. -B_builds cmake -H. -B_builds -DA=ON grep '\B\' _builds/CMakeCache.txt B:STRING=There is no A I'm not saying cache is a bad idea, I'm just saying that when users hit such kind of situations that's

Re: [CMake] CMake finds wrong ar/ranlib/nm

2015-07-30 Thread Bill Hoffman
On 7/30/2015 3:17 AM, Auer, Jens wrote: Thanks a lot. Obviously, setting the environment when calling cmake is not enough. The command scl enable devtoolset-3 cmake ../src sets the path etc and runs the cmake command, but it seems that cmake opens a new subshell with default settings. I've added

Re: [CMake] CMake IR

2015-07-30 Thread Bill Hoffman
On 7/30/2015 7:51 AM, Nagy-Egri Máté Ferenc via CMake wrote: Bill: I am a member, I just tried sending using the same mail using the “secret CC” option. It seems it did not work. OK, I just checked and it was rejected because of this: Reason: Message has implicit destination I have

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

2015-07-30 Thread Bill Hoffman
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 users who can't stand starting cmake from a script, and it complicates my cmake scripts, but that's not a battle I'd like to wage. No, it is how CMake

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

2015-07-30 Thread Bill Hoffman
On 7/30/2015 11:56 AM, Dan Kegel wrote: I believe the latter, but not the former. I never use the GUI, and consider the cache an anti-feature there solely to support GUI users. It complicates my life, and I'd love to see it go. It is certainly not there just for the GUI. Every try-compile,

Re: [CMake] CMake IR

2015-07-29 Thread Bill Hoffman
On 7/29/2015 9:11 AM, Nagy-Egri Máté Ferenc via CMake wrote: I also posted this idea to the dev list at the same time, but it’s awaiting moderation due to the inserted links. We really do not moderate the lists like that. If it is pending it is because you are not a member of the list. So,

Re: [cmake-developers] Modules/GetPrequisites.cmake issues

2015-07-29 Thread Bill Hoffman
On 7/29/2015 10:17 AM, Bill Somerville wrote: Is there a reason not to look for objdump before dumpbin? I was under the impression that dumpbin was selected first for non-MinGW Windows builds, I have no idea if objdump works with binaries produced by compilers other than GNU/CLang. This is why

  1   2   3   4   5   6   7   8   9   10   >