[CMake] [ANNOUNCE] CMake mailing list now closed

2020-04-01 Thread Robert Maynard via CMake
As was previously announced, CMake is stopping mailing list usage, and has transitioned to a Discourse forum (https://discourse.cmake.org). While new posts to the mailing list are disabled, all previous discussion will be archived so that the knowledge can be searched going forward. Hopefully I w

[CMake] [ANNOUNCE] CMake 3.17.0 available for download

2020-03-20 Thread Robert Maynard via CMake
I am happy to announce that CMake 3.17.0 is now available for download at: https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.17 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.17/release/3.17.html Some of the mor

[CMake] [ANNOUNCE] CMake 3.17.0-rc3 is ready for testing

2020-03-12 Thread Robert Maynard via CMake
longer finds ".dll" files by default. Instead, it expects ".dll.a" import libraries to be available. * The "MinGW Makefiles" generator no longer issues an error if "sh.exe" is present in the environment’s "PATH". * The "Ninja" generator now prefers

[CMake] [ANNOUNCE] CMake 3.16.5 available for download

2020-03-04 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.16.5 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.16.5 since 3.16.4: Brad

[CMake] [ANNOUNCE] CMake 3.17.0-rc2 is ready for testing

2020-03-02 Thread Robert Maynard via CMake
. The latter was deprecated by SDCC 3.2.0 and removed in SDCC 3.8.6. * With SDCC the default flags no longer include any target-specific flags. Previously the default flags were hard-coded for 8051. * The "CMAKE_VS_GLOBALS" variable value now applies during compiler identification an

[CMake] [REMINDER] CMake transition to discourse

2020-02-27 Thread Robert Maynard via CMake
Reminder the CMake Discourse forum ( https://discourse.cmake.org ) is the preferred location for CMake questions and discussions. The current mailman-based mailing lists will be disabled in April 2020, and their archives will remain available after that. Reminder for those who prefer email over

[CMake] [ANNOUNCE] CMake 3.17.0-rc1 is ready for testing

2020-02-12 Thread Robert Maynard via CMake
I am proud to announce the first CMake 3.17 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.17 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.17/release/3.17.html Some of the more significan

[CMake] [ANNOUNCE] CMake 3.16.4 available for download

2020-02-05 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.16.4 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.16.4 since 3.16.3: Brad

[CMake] [ANNOUNCE] CMake 3.15.7 available for download

2020-02-04 Thread Robert Maynard via CMake
: Brad King (4): IRSL: Install msvcp140_{1,2,codecvt_ids}.dll if available ASM_MASM: Populate MSVC runtime library abstraction table VS: Tell VS 16.4 not to verify SYMBOLIC custom command inputs CMake 3.15.7 Robert Maynard (1): CUDA: Do not device link if target has no CUDA usage -- Powered

[CMake] [ANNOUNCE] CMake 3.16.3 available for download

2020-01-21 Thread Robert Maynard via CMake
Fortran submodules Pavel Liavonau (1): VS: Add Fortran link flag table entries for /OPT:* Robert Maynard (1): CUDA: Do not device link if target has no CUDA usage Sebastian Holtermann (1): Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files Silvio Traversaro (2

Re: [CMake] [ANNOUNCE] CMake Discourse forum now available

2020-01-13 Thread Robert Maynard via CMake
accounts may be configured to receive email notifications for forum activity at several levels of granularity, or to receive email notifications for all activity like a mailing list. On Tue, Nov 5, 2019 at 12:13 PM Robert Maynard wrote: > > A Discourse forum is now available for the CMake com

[CMake] [ANNOUNCE] CMake 3.16.2 available for download

2019-12-19 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.16.2 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.16.2 since 3.16.1: Brad

[CMake] [ANNOUNCE] CMake 3.15.6 available for download

2019-12-16 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.15.6 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.15.6 since 3.15.5: Alex

[CMake] ANNOUNCE] CMake 3.16.1 available for download

2019-12-10 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.16.1 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.16.1 since 3.16.0: Alex

[CMake] [ANNOUNCE] CMake 3.16.0 available for download

2019-11-26 Thread Robert Maynard via CMake
I am happy to announce that CMake 3.16.0 is now available for download at: https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.16 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.16/release/3.16.html Some of the mor

Re: [CMake] Link options not transitive

2019-11-25 Thread Robert Maynard via CMake
You should report this on the CMake issue tracker: https://gitlab.kitware.com/cmake/cmake/issues/ On Sat, Nov 23, 2019 at 12:03 PM Martin Krošlák wrote: > > Hi, > > I have recently encountered what I believe might be a bug, where > INTERFACE_LINK_OPTIONS are not carried over static libraries. > F

[CMake] [ANNOUNCE] CMake 3.16.0-rc4 is ready for testing

2019-11-18 Thread Robert Maynard via CMake
PATH docs CTest: Rename hardware -> resources for CMake variables, command options cmCTestMultiProcessHandler: Rename resource locking functions CTest: Rename hardware -> resources for source code CTest: Rename hardware -> resources for RunCMake tests Help: Improve readability

[CMake] [ANNOUNCE] CMake Discourse forum now available

2019-11-05 Thread Robert Maynard via CMake
A Discourse forum is now available for the CMake community: https://discourse.cmake.org Discourse offers users more control over their level of participation, allowing them to subscribe or unsubscribe by category or individual topic. Users may choose to participate by web forum, email, or both.

[CMake] [ANNOUNCE] CMake 3.16.0-rc3 is ready for testing

2019-10-31 Thread Robert Maynard via CMake
I am proud to announce the third CMake 3.16 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.16 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.16/release/3.16.html Some of the more significan

[CMake] [ANNOUNCE] CMake 3.15.5 available for download

2019-10-30 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.15.5 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.15.5 since 3.15.4: Alan

[CMake] [ANNOUNCE] CMake 3.16.0-rc2 is ready for testing

2019-10-20 Thread Robert Maynard via CMake
I am proud to announce the second CMake 3.16 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.16 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.16/release/3.16.html Some of the more significa

Re: [CMake] Custom installation of cmake

2019-10-20 Thread Robert Maynard via CMake
The easiest way is to specify the custom compiler via the CC and CXX environment variables. On Sat, Oct 19, 2019 at 2:19 PM Mahmood Naderan via CMake wrote: > > OK and how about custom installation path of cmake? > > > Regards, > Mahmood > > > On Saturday, October 19, 2019, 4:44:28 PM GMT+3:30, 1

Re: [CMake] Unity builds (was: Re: [ANNOUNCE] CMake 3.16.0-rc1 is ready for testing)

2019-10-14 Thread Robert Maynard via CMake
-0400, Robert Maynard via CMake wrote: > > * The "UNITY_BUILD" target property was added to tell generators to > > batch include source files for faster compilation times. > > Are there any instructions on how to make this work? I tried this: > > cmake -G

[CMake] [ANNOUNCE] CMake 3.16.0-rc1 is ready for testing

2019-10-10 Thread Robert Maynard via CMake
I am proud to announce the first CMake 3.16 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.16 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.16/release/3.16.html Some of the more significan

Re: [CMake] [EXTERNAL] Re: CMake and Ninja, RERUN_CMAKE useless?

2019-10-09 Thread Robert Maynard via CMake
> and forcing a rebuild of the executables and libraries I had already built > > Is there a way to do what I was looking for? I wouldn't be surprised if there > wasn't, since removing those very fundamental building blocks might as well > just be an rm -rf ./* >

Re: [CMake] CMake and Ninja, RERUN_CMAKE useless?

2019-10-09 Thread Robert Maynard via CMake
The default generator and all other associated information ( '-D' ) is kept in the CMakeCache.txt file in the root of the build directory. The execution of `cmake -S -B ` will reload this cache before doing anything else. Have you verified that your build directory hasn't deleted this file? On Tu

[CMake] [ANNOUNCE] CMake 3.15.4 available for download

2019-10-02 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.15.4 is now available for download. This release fixes a regression in EXCLUDE_FROM_ALL. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! -

[CMake] [ANNOUNCE] CMake 3.14.7 available for download

2019-10-02 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.14.7 is now available for download. This release fixes a regression in EXCLUDE_FROM_ALL. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! -

[CMake] [ANNOUNCE] CMake 3.15.3 available for download

2019-09-04 Thread Robert Maynard via CMake
STRINGS property Marvin Schmidt (1): libarchive: We now require at least version 3.3.3 Robert Maynard (1): FindMPI: Restore MPI__COMPILE_FLAGS and MPI__COMPILE_OPTIONS Sebastian Holtermann (3): Ninja: Add support for ADDITIONAL_CLEAN_FILES in custom targets Tests: Extend MakeClean test to test

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

2019-08-20 Thread Robert Maynard
You can use that method so you get the IDE features of VS2019 but the VS2017 compiler. On Fri, Aug 16, 2019 at 2:19 PM Michael Jackson wrote: > > 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 Jacks

Re: [CMake] Ways to require CUDA arch minimum version?

2019-08-16 Thread Robert Maynard
Are you asking for a minimum CUDA SDK version or a restriction based on the hardware of the machine? We have no pre-built logic to enforce a minimum hardware component, as we want to support building CUDA on a machine without a GPU. As far as minimum CUDA SDK is concerned if you are doing it throu

[CMake] [ANNOUNCE] CMake 3.15.2 available for download

2019-08-07 Thread Robert Maynard
We are pleased to announce that CMake 3.15.2 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.15.2 since 3.15.1: Brad

[CMake] [ANNOUNCE] CMake 3.15.1 available for download

2019-07-26 Thread Robert Maynard
es Marc Chevrier (1): FindPython: ensure interpreter is founded when cross-compiling Marek Antoniak (1): Fix allocation in CROSSCOMPILING_EMULATOR evaluation Robert Maynard (2): FindMPI: Updated to use INTERFACE_LINK_OPTIONS FindMPI: make sure computed link flags are not de-duplicated Saleem Abdulr

Re: [CMake] Shortcomings with exporting and importing targets

2019-07-25 Thread Robert Maynard
ckages` to include to my > `*-config.cmake`?? > > On Thu, Jul 25, 2019 at 5:49 PM Robert Maynard > wrote: >> >> target_link_libraries() when given an explicit path+filename as PUBLIC >> ( not PRIVATE ) will be part of the transitive dependencies. An >> exp

Re: [CMake] Shortcomings with exporting and importing targets

2019-07-25 Thread Robert Maynard
target_link_libraries() when given an explicit path+filename as PUBLIC ( not PRIVATE ) will be part of the transitive dependencies. An explicit path+filename is not a target to CMake, nor will CMake compute that it maps to an existing target ( be it imported or a 'normal' target ). > This makes me

Re: [CMake] add_subdirectory namespaces

2019-07-25 Thread Robert Maynard
Subsequent calls to project() from sub-directories is supported. For calls to project from sub-directories it does everything but set CMAKE_PROJECT_NAME. On Wed, Jul 24, 2019 at 7:29 AM Jason Beach wrote: > > I've been reorganizing / updating our software cmake build. It currently uses > a mixtu

Re: [CMake] getting compiler's include paths

2019-07-18 Thread Robert Maynard
product. On Wed, Jul 3, 2019 at 10:51 AM Robert Maynard wrote: > > I completely forgot that the Makefiles based generators in CMake have > a separate heuristic for determining system headers. > > If you use the Ninja generator I see the expected behavior: > ~/W/t/nbuild $ sudo touch

Re: [CMake] relative path to toolchain does not work

2019-07-17 Thread Robert Maynard
Is this with a clean build directory? The toolchain file is ignored once CMake has run and has done compiler detection. On Wed, Jul 17, 2019 at 11:29 AM hex wrote: > > I specified my toolchain like so: > > 1cmake -DCMAKE_TOOLCHAIN_FILE=myToolchain.cmake .. > > and created a toolchain file in proj

[CMake] [ANNOUNCE] CMake 3.15.0 available for download

2019-07-17 Thread Robert Maynard
I am happy to announce that CMake 3.15.0 is now available for download at: https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.15 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.15/release/3.15.html Some of the mor

[CMake] [ANNOUNCE] CMake 3.14.6 available for download

2019-07-16 Thread Robert Maynard
We are pleased to announce that CMake 3.14.6 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.14.6 since 3.14.5: Brad

[CMake] [ANNOUNCE] CMake 3.15.0-rc4 is ready for testing

2019-07-10 Thread Robert Maynard
stead. * The "ADDITIONAL_MAKE_CLEAN_FILES" directory property is now deprecated. Use the "ADDITIONAL_CLEAN_FILES" directory property instead. * The variable "CMAKE_AUTOMOC_RELAXED_MODE" is considered deprecated. Support still exists but will be removed in future versions.

Re: [CMake] getting compiler's include paths

2019-07-10 Thread Robert Maynard
jl forums wrote: > > ok, thanks > by the way what about my ctags rule? how can i get the include path of an > app? so that i can pass it to ctags and have my tags produced? > thanks and regards > jlm > > Le mer. 3 juil. 2019 à 16:52, Robert Maynard a > écrit : >>

Re: [CMake] getting compiler's include paths

2019-07-03 Thread Robert Maynard
m \ > /usr/include/c++/8/istream /usr/include/c++/8/ios \ > /usr/include/c++/8/bits/basic_ios.h \ > /usr/include/c++/8/bits/basic_ios.tcc /usr/include/c++/8/ostream \ > /usr/include/c++/8/bits/ostream.tcc /usr/include/c++/8/bits/istream.tcc \ > /usr/include/x86_64-linux-gnu/

Re: [CMake] compiling .cpp/.cxx with CUDA compiler

2019-07-02 Thread Robert Maynard
In general I go with the source property approach, since you can pass it a collection of files to be marked as CUDA. If you are aware of when all sources have been added to a target you can easily mark them all as cuda with: get_target_property(source_files SOURCES) set_source_files_properties(${

[CMake] [ANNOUNCE] CMake 3.15.0-rc3 is ready for testing

2019-06-27 Thread Robert Maynard
I am proud to announce the third CMake 3.15 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.15 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.15/release/3.15.html Some of the more significan

Re: [CMake] getting compiler's include paths

2019-06-24 Thread Robert Maynard
It look that starting with CMake 3.6 modification of system headers will cause CMake to recompile projects. What version of CMake and your compiler are you using? On Mon, Jun 17, 2019 at 9:40 AM jl forums wrote: > > Hi, > I want to create a full tag file and for this require to know the compiler

[CMake] [ANNOUNCE] CMake 3.15.0-rc2 is ready for testing

2019-06-19 Thread Robert Maynard
"export(PACKAGE)" command now does nothing unless enabled via "CMAKE_EXPORT_PACKAGE_REGISTRY". See policy "CMP0090". * The "Xcode" generator now requires at least Xcode 5. * An explicit deprecation diagnostic was added for policy "CMP0066"

Re: [CMake] How to specify debug version of CRT library for Visual Studio generator?

2019-06-18 Thread Robert Maynard
Just a heads up, CMake 3.15 is introducing policy 91 which removes the runtime library from the default set of flags, and instead has targets establish what runtime they want. For more information see: https://cmake.org/cmake/help/v3.15/prop_tgt/MSVC_RUNTIME_LIBRARY.html On Tue, Jun 18, 2019 at 1

[CMake] [ANNOUNCE] CMake 3.15.0-rc1 is ready for testing

2019-06-04 Thread Robert Maynard via CMake
I am proud to announce the first CMake 3.15 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.15 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.15/release/3.15.html Some of the more significan

[CMake] Free CMake course during KHQ Summer courses July 22-25 2019

2019-06-03 Thread Robert Maynard via CMake
Hi All, This summer between July 22 - 25th Kitware is offering 7 free courses over 3 days at our new headquarters in Albany NY. One of the free courses we will be offering is a full day CMake course on Tuesday July 23rd. Hopefully some of you will be able to attend, and we can meet in person. Si

Re: [CMake] Question about Variables

2019-05-31 Thread Robert Maynard via CMake
The `${ }` syntax deferences the variable, so what you are asking is if the variable `1_INC_PATH` exists. What you want is `if(DEFINED WITH_LIB_GLAD_INC_PATH)` to check for the existence of the variable `WITH_LIB_GLAD_INC_PATH` On Fri, May 31, 2019 at 4:11 PM Steven Truppe wrote: > > Hi everyone

[CMake] [ANNOUNCE] CMake 3.14.5 available for download

2019-05-31 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.14.5 is now available for download. The Visual Studio 2019 16.1 update introduced a regression in MSBuild's evaluation of custom command dependencies causing them to re-run on every build. CMake 3.14.5 includes a workaround, for more details on the issue see

Re: [CMake] Dependency cycle - why?

2019-05-27 Thread Robert Maynard via CMake
LES...) in order to mimic that. > see: https://github.com/Kitware/CMake/blob/master/Modules/UseJava.cmake > > I'm not developing with golang but AFAIK go has a builtin "build system" so > bringing go as a language in CMake may not be the best option, > but again I am

Re: [CMake] Dependency cycle - why?

2019-05-24 Thread Robert Maynard via CMake
Hi, The goal that you have is fully supported by CMake. You have just run into a bug in CMake, and you should report this to https://gitlab.kitware.com/cmake/cmake/issues . Basically at a very high level the name out the add_executable target `callback_generator` is the same as the internal name t

Re: [CMake] Specifying VS 2019 LLVM toolset on CMake command line?

2019-05-23 Thread Robert Maynard via CMake
I believe it is "-T llvm" when using the Visual Studio Generators On Sun, May 19, 2019 at 3:33 PM Osman Zakir wrote: > > How do I specify the VS 2019 LLVM toolset when configuring a build with CMake > on the command line? > -- > > Powered by www.kitware.com > > Please keep messages on-topic and

Re: [CMake] Visual Studio platform name ("Win32", "x64") back on CMake GUI window?

2019-05-22 Thread Robert Maynard via CMake
Can you submit this to our issue tracker please ( https://gitlab.kitware.com/cmake/cmake/issues ) On Wed, May 22, 2019 at 9:44 AM Niels Dekker wrote: > > Previous versions of CMake GUI (prior to CMake 3.14) always displayed > the name of the selected platform (typically "Win32" or "Win64") with >

Re: [CMake] transitive linkage of OBJECT library targets

2019-05-22 Thread Robert Maynard via CMake
This is a known limitation of the current design. Only directly linked object library objects are propagated. For more details on why see: https://gitlab.kitware.com/cmake/cmake/issues/18090 On Wed, May 22, 2019 at 1:48 AM Richard Szabo wrote: > > Hi cmakers > > I'm trying to get the following e

Re: [CMake] Building CMake with custom OpenSSL

2019-05-21 Thread Robert Maynard via CMake
I don't believe that we test CMake with that configuration of OpenSSL. If it works, I cant promise it will continue to work going forward. On Mon, May 20, 2019 at 4:44 PM A.Dmitrovsky wrote: > > Hi, > > I am building CMake (on x64 linux) with custom OpenSSL and wondering if there > are any CMake

[CMake] [ANNOUNCE] CMake 3.14.4 available for download

2019-05-14 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.14.4 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.14.4 since 3.14.3: Alex

[CMake] [ANNOUNCE] CMake 3.13.5 available for download

2019-05-14 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.13.5 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.13.5 since 3.13.4: Brad

Re: [CMake] CMake with two C++ compilers

2019-05-10 Thread Robert Maynard via CMake
Currently we don't provide the compiler id and version for the CUDA host compiler. If you are interested in having this information can you please create an issue on the cmake gitlab: https://gitlab.kitware.com/cmake/cmake On Fri, May 10, 2019 at 12:09 PM JR Cary wrote: > > Thanks, Chuck. > > I

Re: [CMake] Support of compile features for Fujitsu C++ Compiler

2019-05-09 Thread Robert Maynard via CMake
Chofu-shi, Tokyo > > 182-8522, Japan > > Tel. +81-50-3362-7933 > > Fax. +81-422-40-3327 > > zehner.p...@jaxa.jp > > www.jaxa.jp > > > From: Robert Maynard > Sent: Thursday, May 9, 2019 3:12 > To: Zehner Paul > Cc: Kai

Re: [CMake] Support of compile features for Fujitsu C++ Compiler

2019-05-08 Thread Robert Maynard via CMake
pan > > Tel. +81-50-3362-7933 > > Fax. +81-422-40-3327 > > zehner.p...@jaxa.jp > > www.jaxa.jp > > > From: Robert Maynard > Sent: Friday, April 26, 2019 23:32 > To: Zehner Paul > Cc: Kai Wolf; cmake@cmake.org > Subject: Re:

Re: [CMake] c++2a

2019-05-07 Thread Robert Maynard via CMake
CMake hasn't been updated to be aware that XCode 10 added support for C++20 (via -std=c++2a). I have opened a MR to correct this which you can track at: https://gitlab.kitware.com/cmake/cmake/merge_requests/3294 On Tue, May 7, 2019 at 12:24 PM Angel Campoverde wrote: > > Hi, > > No, It does not w

Re: [CMake] Support of compile features for Fujitsu C++ Compiler

2019-04-26 Thread Robert Maynard via CMake
For an initial implementation I would base the work on the PGI compiler module ( https://gitlab.kitware.com/cmake/cmake/blob/v3.14.3/Modules/Compiler/PGI-CXX.cmake ) not the GNU-CXX module. This will allow you to add a new compiler with only meta-language flags ( cxx_std_11, cxx_std_14, ... ) and y

[CMake] [ANNOUNCE] CMake 3.14.3 available for download

2019-04-22 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.14.3 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.14.3 since 3.14.2: Ben

Re: [CMake] CXX and CUDACXX

2019-04-16 Thread Robert Maynard via CMake
ly for now. > > Thx! > > On Tue, Apr 16, 2019 at 1:10 PM Robert Maynard > wrote: >> >> The default implementation is to defer to CUDA for selecting what >> ever host compiler it would like. To make sure that CMake uses the >> same CXX and CUDACXX compiler y

Re: [CMake] CXX and CUDACXX

2019-04-16 Thread Robert Maynard via CMake
The default implementation is to defer to CUDA for selecting what ever host compiler it would like. To make sure that CMake uses the same CXX and CUDACXX compiler you will need to explicitly state that either through the CUDAHOSTCXX env variable ( https://cmake.org/cmake/help/v3.12/envvar/CUDAHOST

[CMake] [ANNOUNCE] CMake 3.14.2 available for download

2019-04-12 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.14.2 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.14.2 since 3.14.1: Brad

Re: [CMake] Does enable_language(CUDA) still have the problem with reconfiguring?

2019-04-01 Thread Robert Maynard via CMake
Yes, we are dependent on the CUDA extensions for ms-build working correctly. On Mon, Apr 1, 2019 at 5:02 PM Mojca Miklavec wrote: > > On Mon, 1 Apr 2019 at 22:11, Robert Maynard via CMake wrote: > > > > For MSBuild we rely on the CUDA extensions written by nvidia which do >

Re: [CMake] Does enable_language(CUDA) still have the problem with reconfiguring?

2019-04-01 Thread Robert Maynard via CMake
It doesn't have this behavior. For Makefile and Ninja generators we get the proper header dependencies at compile time just like we do for C or C++. For MSBuild we rely on the CUDA extensions written by nvidia which do proper dependency tracking. On Sat, Mar 30, 2019 at 4:12 PM JR Cary wrote: >

[CMake] [ANNOUNCE] CMake 3.14.1 available for download

2019-03-29 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.14.1 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.14.1 since 3.14.0: Brad

Re: [CMake] Strange issue with 3.14.0 and copying files

2019-03-22 Thread Robert Maynard via CMake
Just as a follow-up for the general community, this is a bug and can be tracked at: https://gitlab.kitware.com/cmake/cmake/issues/19075 On Wed, Mar 20, 2019 at 2:46 PM Ron Olson wrote: > > Hi all- > > As a way of introduction, I’m Ron, and I maintain Apple’s Swift > programming language package

Re: [CMake] CMake Project Generation Speedup

2019-03-21 Thread Robert Maynard via CMake
A round of performance improvements to generate time was done as part of CMake 3.11 and that significantly helped. What would be helpful is a performance analysis run of CMake itself to determine if the issue is that we are IO bound ( and need to do multi-threaded writes ) or compute bound. While

[CMake] [ANNOUNCE] CMake 3.14.0 available for download

2019-03-14 Thread Robert Maynard via CMake
I am happy to announce that CMake 3.14.0 is now available for download at: https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.14 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.14/release/3.14.html Some of the mor

[CMake] [ANNOUNCE] CMake 3.14.0-rc4 is ready for testing

2019-03-08 Thread Robert Maynard via CMake
I am proud to announce the fourth CMake 3.14 release candidate. https://cmake.org/download/ The first two 3.14.0 release candidates included the FindOcatave module. This has been removed in rc3, and rc4 pending further development. Documentation is available at: https://cmake.org/cmake/help/v

[CMake] [ANNOUNCE] CMake 3.14.0-rc3 is ready for testing

2019-03-01 Thread Robert Maynard via CMake
a deprecation message emitted. * CMake no longer issues a warning if a target listed in an "install(TARGETS)" command has its "EXCLUDE_FROM_ALL" property set to true. Changes made since CMake 3.14.0-rc

Re: [CMake] CUDA language support with host compiler flags

2019-02-28 Thread Robert Maynard via CMake
ct architecture and what not. > > > > Anyhow, if someone needed the minimal template, here it is: > > > > https://gist.github.com/MathiasMagnus/0edacac888a758fe233cb69f3e291d62 > > > > Cheers, > > Máté > > > > Feladó: Robert Maynard > Elküldv

Re: [CMake] Getting the path to object files?

2019-02-27 Thread Robert Maynard via CMake
, Feb 27, 2019 at 9:06 AM Paul Smith wrote: > > On Wed, 2019-02-27 at 08:39 -0500, Robert Maynard wrote: > > CMake only provides an official way to get the location of the object > > files for OBJECT targets ( $ ). For other > > target types the location is an implementat

Re: [CMake] transitive interface dependency problem

2019-02-27 Thread Robert Maynard via CMake
If `interfaceDep` is an actual interface target, consuming libraries of libA inside the project ( example ) should resolve it as an interface target and not drop it on the lnik line. If you have a small self contained example that would help track down this issue. On Thu, Feb 21, 2019 at 5:49 AM

Re: [CMake] CUDA language support with host compiler flags

2019-02-27 Thread Robert Maynard via CMake
You need to guard the flags with `$` the evaluation on a given compiler id is done for all sources of a target, and not on each target source file. So you will need something like: set(cxx_flags "$<$,$>:-Wall -Wextra -pedantic> $<$:/W4") target_compi

Re: [CMake] Getting the path to object files?

2019-02-27 Thread Robert Maynard via CMake
CMake only provides an official way to get the location of the object files for OBJECT targets ( $ ). For other target types the location is an implementation detail. On Sat, Feb 23, 2019 at 3:24 PM Paul Smith wrote: > > Hi all. I'm using CMake 3.13.4 across Linux, MacOS, and Windows, with > var

Re: [CMake] [SPAM] Re: [SPAM] Re: resource installation

2019-02-15 Thread Robert Maynard via CMake
: > error MSB3073: if %errorlevel% neq 0 goto :VCEnd > 1>C:\Program Files > (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): > error MSB3073: :VCEnd" exited with code -1. > 1>Done executing task "Exec" -- FAILED. >

[CMake] [ANNOUNCE] CMake 3.14.0-rc2 is ready for testing

2019-02-15 Thread Robert Maynard via CMake
I am proud to announce the second CMake 3.14 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.14 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.14/release/3.14.html Some of the more significa

Re: [CMake] Redundant linking when modifying shared libraries

2019-02-14 Thread Robert Maynard via CMake
Feb 14, 2019 at 8:08 PM Robert Maynard > wrote: > > By default CMake wants to get a correct build 100% of the time. There > > is nothing to stop people from having functions defined in a .cxx file > > with no corresponding header, and using manual forward deceleration is >

Re: [CMake] Redundant linking when modifying shared libraries

2019-02-14 Thread Robert Maynard via CMake
> I wonder why this isn't the default behavior By default CMake wants to get a correct build 100% of the time. There is nothing to stop people from having functions defined in a .cxx file with no corresponding header, and using manual forward deceleration is used in a consuming library/executable.

Re: [CMake] [CMAKE] Disable testing when building using bootstrap

2019-02-12 Thread Robert Maynard via CMake
You can pass CMake arguments to the bootstrap by doing: ./bootstrap -- -DBUILD_TESTING=OFF On Mon, Feb 11, 2019 at 12:03 PM Jon Haitz Legarreta Gorroño wrote: > > Hi, > > I'm trying to build CMake from sources using the `bootstrap` script. > > Please, correct me if I'm wrong, but it looks like

[CMake] [ANNOUNCE] CMake 3.14.0-rc1 is ready for testing

2019-02-07 Thread Robert Maynard via CMake
I am proud to announce the first CMake 3.14 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.14 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.14/release/3.14.html Some of the more significan

Re: [CMake] cmake with vscode

2019-02-05 Thread Robert Maynard via CMake
CMAKE_FIND_ROOT_PATH isn't meant to be used like that, you should use CMAKE_PREFIX_PATH I expect. ROOT_PATH represents the root of a new file-system/OS basically and is meant for cross-compilation. While what you want is extra directories to start searching from which is what CMAKE_PREFIX_PATH is

Re: [CMake] [SPAM] Re: resource installation

2019-02-05 Thread Robert Maynard via CMake
If you add 'OUTPUT_VARIABLE' and 'ERROR_VARIABLE' information to the execute_process call you should be able to dump the information using 'message' and see if the execute_process is running. On Tue, Jan 29, 2019 at 3:04 PM Rob Boehne wrote: > > I’m still not getting this script executed. I can

Re: [CMake] [EXTERNAL] Re: Linking to boost on OS X 10.12

2019-02-05 Thread Robert Maynard via CMake
ges continue to work fine on OS X 10.12. > My question is about what to do with executables before packaging, while they > are still just in the build tree. We need them to work for purposes of > testing via CTest. > > Adam > > > On 2/5/19, 2:56 PM, "Robert Maynard&

Re: [CMake] Linking to boost on OS X 10.12

2019-02-05 Thread Robert Maynard via CMake
My general approach for the second problem is to run a tool such as install_name_tool to change the library names to have @rpath when constructing the package. On Tue, Feb 5, 2019 at 2:25 PM Stephens, J. Adam via CMake wrote: > > Hello, > > > > The project I work on links to several shared boost

Re: [CMake] patches for MirOS

2019-02-05 Thread Robert Maynard via CMake
As a general policy CMake doesn't offer patch releases of older versions, and instead recommends updating to the latest CMake version. On Sun, Feb 3, 2019 at 10:21 PM Andrew Pennebaker wrote: > > Hiya! > > I got cmake to build in MirOS (also known as MirBSD) v10 this weekend, > painting over ga

Re: [CMake] --warn-uninitialized works in only first configuration

2019-02-05 Thread Robert Maynard via CMake
ITIALIZED is not added to CMakeCache.txt. > Calling cmake twice (even without a change to the list) also shows this > warning. > > -----Ursprüngliche Nachricht- > Von: Robert Maynard [mailto:robert.mayn...@kitware.com] > Gesendet: Montag, 4. Februar 2019 18:16 > An: Ramo

Re: [CMake] --warn-uninitialized works in only first configuration

2019-02-04 Thread Robert Maynard via CMake
This generally occurs with CACHE variables as for non first runs they exist in the cache and therefore are initialized. On Mon, Feb 4, 2019 at 10:16 AM Ramold, Felix wrote: > > Hi, > > > > I configure a project with --warn-uninitialized and get a lot of warnings. I > successfully run the build.

[CMake] [ANNOUNCE] CMake 3.13.4 available for download

2019-02-04 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.13.4 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! - Changes in 3.13.4 since 3.13.3: Ben

Re: [CMake] [CMake 3.13.3] [MSBuild] Issue on configure/generate Visual Studio 2017 Project

2019-01-17 Thread Robert Maynard via CMake
If the problem only occurs when using the command line shell it might be related to other environment variables in the shell. On Tue, Jan 15, 2019 at 5:20 AM Kail, Rajmund (GE Healthcare) < rajmund.k...@ge.com> wrote: > Dear All, > > > > I have another observation. The project is generated normal

Re: [CMake] Additional traffic on cmake.org concerning cmake documentation

2019-01-16 Thread Robert Maynard via CMake
It would not be a problem as it relates to server load for you to redirect to `https://cmake.org/cmake/help/latest/`, but as frodak17 a better avenue would to investigate packaging the generated html files ( located in doc/cmake/html/ ). On Tue, Jan 15, 2019 at 2:54 PM Martin Weber wrote: > > Hi,

Re: [CMake] Binaries linking interface library

2019-01-16 Thread Robert Maynard via CMake
The cause of the downstream failure ( cmake adds "-lLibMinimal" to the linker ) is caused by the the cmake install(EXPORT) error. You need to have LibMinimal in your export set so that CMake at export time is aware that it is an interface library and generates the correct import interface target t

[CMake] [ANNOUNCE] CMake 3.13.3 available for download

2019-01-14 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.13.3 is now available for download. Please use the latest release from our download page: https://cmake.org/download/ Thanks for your support! * The VS 2017 generator has been fixed to work when VS 2019 is installed.

  1   2   3   4   5   >