Re: [CMake] Generated files?

2015-01-30 Thread J Decker
file(GLOB ... ) might be of interest to get the list of files -- 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,

[Cmake-commits] CMake branch, next, updated. v3.1.1-2524-g569a549

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 569a549c79b6d8bd349727ad274881f15cdef7c2 (commit) via

Re: [CMake] Generated files?

2015-01-30 Thread Bill Hoffman
On 1/30/2015 10:40 AM, Chris Johnson wrote: Petr, thanks. That makes a lot of sense. Now I am struggling with causing all of these files to be generated when I do the default build target, e.g. just make in the build directory. That is, I want myprog to be compiled, and then all of the files

[Cmake-commits] CMake branch, master, updated. v3.1.1-972-g85fe940

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 85fe9400cd68805501d2cd98cf7375c8845492f6 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.1.1-976-gdb4b9fe

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via db4b9fe25673c252a93c15040909d328dc83dde9 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.1.1-970-ge62e04f

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via e62e04f3bbad6c8bad7183c16c966d20f1aa66cb (commit) via

[Cmake-commits] CMake branch, master, updated. v3.1.1-979-gedc9ff9

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via edc9ff9422b7730a11aaa9a36458f16a5800ec17 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.1.1-967-gfa5f566

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via fa5f5667763988d7856b98227b5cf74bb42a8203 (commit) via

Re: [cmake-developers] Fix for Windows Store warning APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value.

2015-01-30 Thread Robert Goulet
Hi Gilles, Brad, There's also another warning I'd like to fix. When compiling from the command-line, it generates warning APPX2102: File 'VisualStudioEdition' is not found or is not an executable file. I found that simply adding /p:VisualStudioEdition=Microsoft Visual Studio 2012 Ultimate on

Re: [CMake] Generated files?

2015-01-30 Thread Chris Johnson
I'm trying to use the method outlined in your #2, with the list of files. But I get circular dependency errors, with messages like this one (for each file): make[2]: Circular validate/X12_Standards/997_5010.x12 - validate/X12_Standards/997_5010.x12 dependency dropped. On Fri, Jan 30, 2015 at

Re: [CMake] Generated files?

2015-01-30 Thread Chris Johnson
Petr, thanks. That makes a lot of sense. Now I am struggling with causing all of these files to be generated when I do the default build target, e.g. just make in the build directory. That is, I want myprog to be compiled, and then all of the files processed by it with just one build command. I

Re: [CMake] Generated files?

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

[Cmake-commits] CMake branch, next, updated. v3.1.1-2521-gf52c5a4

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via f52c5a45dd025d8c30c7505e36b03226e3e0a43a (commit) via

Re: [CMake] Generated files?

2015-01-30 Thread Petr Kmoch
I believe the classic driving target approach could be used here. Add a custom target which will drive the custom commands by depending on their outputs: add_custom_target( RunMyProg ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/file001.out ${CMAKE_CURRENT_BINARY_DIR}/file002.out #...

[Cmake-commits] CMake branch, next, updated. v3.1.1-2526-g01cd4d7

2015-01-30 Thread Bill Hoffman
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 01cd4d7da617553f3f0322c1ab6bb2304e652855 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.1-2512-gb3362a2

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via b3362a20f5eabd0f373154332612907e5aa1f48a (commit) via

[Cmake-commits] CMake branch, master, updated. v3.1.1-983-ga01f81b

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via a01f81b9064a31760787bc6a2fb9305ef97117e7 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.1-2515-ge0ca5c2

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via e0ca5c27ed79a417523904c9571f199439a45b3b (commit) via

[Cmake-commits] CMake branch, master, updated. v3.1.1-981-g36a1ef4

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 36a1ef43daad760136deeb8f9934266550764c58 (commit) via

[Cmake-commits] CMake branch, release, updated. v3.1.1-14-g37662ea

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, release has been updated via 37662ea4bf64087f2251e2f4a71a13623cfe047f (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.1-2519-g86c4b28

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 86c4b287dcaec066926c5a637a090857659f6f93 (commit) via

Re: [CMake] How can I make CTest not do dart-related stuff?

2015-01-30 Thread Robert Dailey
: (empty) Create new tag: 20150130-2000 - Experimental Cannot find file: /home/fe/atlassian/bamboo_builds/131076/FE-MP88-UT/build/DartConfiguration.tcl Test project /home/fe/atlassian/bamboo_builds/131076/FE-MP88-UT/build Start 1: Test_UI_List Start 2: Test_UI_String 1/2 Test #1

[cmake-developers] New module: CheckFortranCompilerFlag.cmake

2015-01-30 Thread Nicolas Bock
Hi, please find attached for potential inclusion into CMake a new Module that tests Fortran compiler flags. It is a modified copy of the existing CheckCCompilerFlag.cmake module. Thanks, nick # - Check whether the Fortran compiler supports a given flag. # CHECK_Fortran_COMPILER_FLAG(flag var)

Re: [CMake] automoc autorcc

2015-01-30 Thread Stephen Kelly
Norbert Pfeiler wrote: When i use qt5_add_resources and some of my resources change they get recompiled during the next invocation of my build tool. Whereas when i use cmakes autorcc this is not the case. This was fixed in CMake 3.1. Well, I’m using CMake 3.1.1, so apparently it’s

Re: [CMake] How can I make CTest not do dart-related stuff?

2015-01-30 Thread Daniel Schepler
Here, to generate XML for Jenkins' xUnit plugin, we run ctest -T Test -j2 which has never complained about missing DartConfiguration.tcl. -- Daniel Schepler From: CMake [cmake-boun...@cmake.org] on behalf of Robert Dailey [rcdailey.li...@gmail.com] Sent:

[Cmake-commits] CMake branch, next, updated. v3.1.1-2528-ge53a624

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via e53a6242b570d8dbaeef136a5683f2138860f213 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.1-2531-g143e6f7

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 143e6f73a66c7d942c428269c39b6b994d67aa3b (commit) via

Re: [CMake] automoc autorcc

2015-01-30 Thread Norbert Pfeiler
Ok. In that case you must be doing something different to the testcase: http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6e1c359fe9 If you have a http://sscce.org/ please add it to http://public.kitware.com/Bug/view.php?id=15074 The issue report you linked indicates that the fix is

Re: [CMake] How can I make CTest not do dart-related stuff?

2015-01-30 Thread Robert Dailey
: /home/fe/atlassian/bamboo_builds/131076/FE-MP88-UT/build/DartConfiguration.tcl Site: Build name: (empty) Create new tag: 20150130-2000 - Experimental Cannot find file: /home/fe/atlassian/bamboo_builds/131076/FE-MP88-UT/build/DartConfiguration.tcl Test project /home/fe/atlassian/bamboo_builds

Re: [CMake] How can I make CTest not do dart-related stuff?

2015-01-30 Thread David Cole via CMake
Do you have a CTestConfig.cmake file in your source tree? If you do, then ctest will load that instead of looking for the DartConfiguration.tcl file in your build tree... Even if it's empty because you don't submit to a CDash server, the presence of CTestConfig.cmake in your top level source tree

[CMake] How can I make CTest not do dart-related stuff?

2015-01-30 Thread Robert Dailey
I run ctest on my build server *just* to run the test executables and get result XML. I use a separate tool to parse the XML and upload it to an unrelated server (not CDash) I get errors like below: Cannot find file: /sourcerepo/build/DartConfiguration.tcl Can someone explain what CTest is

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

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

[Cmake-commits] CMake branch, master, updated. v3.1.1-984-g83ae27d

2015-01-30 Thread Kitware Robot
20150130) +set(CMake_VERSION_PATCH 20150131) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake

Re: [CMake] Generated files?

2015-01-30 Thread Chris Johnson
That does clarify a few things yes. Thank you. By configure time I had meant the first two items you listed as Configure and Generate. By run time I had meant what you called Build. One place I am unclear on is exactly which commands in CMakeLists.txt get translated into Build time commands in

Re: [CMake] Setting CPACK_PACKAGE_FILE_NAME per COMPONENT

2015-01-30 Thread Iosif Neitzke
Unfortunately it would take more than one run of CPack, but you may find useful something like: in CMakeLists.txt: set( CPACK_PROJECT_CONFIG_FILE ${CMAKE_CURRENT_SOURCE_DIR}/CMakeCPackOptions.cmake ) in CMakeCPackOptions.cmake: set( CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME} ) which would

[Cmake-commits] CMake branch, next, updated. v3.1.1-2498-g1299255

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 12992551e8100fe99d47e71445af53c2cc06e445 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.1-2496-g0a278be

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 0a278bea71a2927874c95d44710424b87bf7a72d (commit) via

Re: [CMake] Adding module CheckFortranCompilerFlag.cmake (Nicolas Bock)

2015-01-30 Thread Zaak Beekman
Great! I would certainly like this functionality to be officially added to CMake and in the mean time will use your module... speaking of which, it seems that it was scrubbed from the digest email, or not originally attached. Can you please send it to me? On Thu, Jan 29, 2015 at 8:42 PM

[Cmake-commits] CMake branch, next, updated. v3.1.1-2500-ge19b6e6

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via e19b6e6bc235a94290eb574043488876197fce1a (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.1-2502-gaa26ab1

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via aa26ab1623e5b412167dbb7e45f065cf78cd148f (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.1-2505-gd23ac47

2015-01-30 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via d23ac474f4eecc9b2df70a6205299927253e42fe (commit) via

Re: [CMake] Generated files?

2015-01-30 Thread Petr Kmoch
As you say, **make** is fairly powerful at this. Other build tools may not be, it might even be an alien concept to them. AFAIK, Ninja requires an explicit list of files dependencies, for example. Visual Studio solutions can only contain explicitly listed files too. CMake projects are supposed

Re: [CMake] Generated files?

2015-01-30 Thread Petr Kmoch
It's not clear to me what you mean with run time. There are the following times involved in a CMake-based project: * Configure time: CMake is parsing CMakeLists.txt files and files included from those and executing ALL CMake commands found in them. Variables expansion takes place. Data structures

Re: [CMake] Setting CPACK_PACKAGE_FILE_NAME per COMPONENT

2015-01-30 Thread Rob Harris
On 01/29/2015 11:24 PM, Iosif Neitzke wrote: Where for a single run of CPack, each component name produces a corresponding named .deb file or ...? Yes. Exactly. Have you tried using CPACK_PROJECT_CONFIG_FILE [0]? This allows you to set a few options at packaging time which can change the