Re: [cmake-developers] For a certain use case, CMake configures linking to the *same* library in both -L... -l... form and raw file form
I have now written [a bug report](https://gitlab.kitware.com/cmake/cmake/issues/19630) that describes this issue. Alan __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __ Linux-powered Science __ -- 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: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake-developers
Re: [cmake-developers] cmake-file-api and CTest
On 8/22/19 2:41 PM, David Cole via cmake-developers wrote: > The return code indicates a stack overflow. Let's hope it is not intended. Thanks folks. I opened an issue for that here: * https://gitlab.kitware.com/cmake/cmake/issues/19629 -Brad -- 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: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake-developers
Re: [cmake-developers] cmake-file-api and CTest
The return code indicates a stack overflow. Let's hope it is not intended. https://stackoverflow.com/questions/50562192/process-finished-with-exit-code-1073740791-0xc409-pycharm-error On Thu, Aug 22, 2019 at 7:16 AM Nagy-Egri Máté Ferenc via cmake-developers wrote: > > Hi! > > > > Someone managed to beat me to creating a CTest adapter for the Test Explorer > UI extension to Visual Studio Code, so instead of writing on from scratch, > I’ll start contributing to it. There is an „autorun test” property which can > be triggered when the adapter sees fit. I wanted to create file watchers for > the executable AND any files the test depends on, based on the REQUIRED_FILES > property of the test. However, when the REQUIRED_FILES property is set on a > test and I ask for –show-only=json-v1 ctest.exe fails with exit code > -1073740791 and outputs nothing. Was this intended? > > > > Cheers, > > Máté > > > > Feladó: Nagy-Egri Máté Ferenc > Elküldve: 2019. július 9., kedd 9:41 > Címzett: Kyle Edwards; CMake fejlesztők > Tárgy: RE: [cmake-developers] cmake-file-api and CTest > > > > Hi Kyle, > > > > I’ve never contributed to CMake before. I once wanted to enchance the > makefile generators with batch-mode support and built CMake myself and walked > through the code in debug mode to see what it does. I identified the entry > point where I should’ve placed my code, but essential it would’ve require a > major rewrite of the makefile generators to enable deferred makefile > generation. Daunted by the amount of work, I figured it was not worth the > effort. (It was primarily motivated by NMake.) > > > > I’ll try giving the file API a spin and see if I understand the code enough > to be able to add new queries and extract tests from the internal > representation. I was hoping to not have to touch CMake itself for this > summer project, but it seems that’s the first step. > > > > Cheers, > > Máté > > > > Feladó: Kyle Edwards > Elküldve: 2019. július 8., hétfő 15:56 > Címzett: Nagy-Egri Máté Ferenc; CMake fejlesztők > Tárgy: Re: [cmake-developers] cmake-file-api and CTest > > > > On Sun, 2019-07-07 at 09:04 +, Nagy-Egri Máté Ferenc via cmake- > > developers wrote: > > > Hi! > > > > > > I am trying to cook a CTest back-end to the Test Explorer UI > > > extension for VS Code as a summer project and I thought of using the > > > new cmake-file-api for it. The docs however are understandably scarce > > > and I could not muster how to obtain tests and not targets. Is it > > > possible with this initial API design? If not, is my best bet to > > > invoke CTest and parse the console output? > > > > FileAPI does not currently list CTest tests, though I agree that this > > would be a good thing to have, perhaps for 3.16. Is this something > > you'd be willing to help with? > > > > Kyle > > > > > > -- > > 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: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > https://cmake.org/mailman/listinfo/cmake-developers -- 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: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake-developers
Re: [cmake-developers] cmake-file-api and CTest
Hi! Someone managed to beat me to creating a CTest adapter for the Test Explorer UI extension to Visual Studio Code, so instead of writing on from scratch, I’ll start contributing to it. There is an „autorun test” property which can be triggered when the adapter sees fit. I wanted to create file watchers for the executable AND any files the test depends on, based on the REQUIRED_FILES property of the test. However, when the REQUIRED_FILES property is set on a test and I ask for –show-only=json-v1 ctest.exe fails with exit code -1073740791 and outputs nothing. Was this intended? Cheers, Máté Feladó: Nagy-Egri Máté Ferenc Elküldve: 2019. július 9., kedd 9:41 Címzett: Kyle Edwards; CMake fejlesztők Tárgy: RE: [cmake-developers] cmake-file-api and CTest Hi Kyle, I’ve never contributed to CMake before. I once wanted to enchance the makefile generators with batch-mode support and built CMake myself and walked through the code in debug mode to see what it does. I identified the entry point where I should’ve placed my code, but essential it would’ve require a major rewrite of the makefile generators to enable deferred makefile generation. Daunted by the amount of work, I figured it was not worth the effort. (It was primarily motivated by NMake.) I’ll try giving the file API a spin and see if I understand the code enough to be able to add new queries and extract tests from the internal representation. I was hoping to not have to touch CMake itself for this summer project, but it seems that’s the first step. Cheers, Máté Feladó: Kyle Edwards Elküldve: 2019. július 8., hétfő 15:56 Címzett: Nagy-Egri Máté Ferenc; CMake fejlesztők Tárgy: Re: [cmake-developers] cmake-file-api and CTest On Sun, 2019-07-07 at 09:04 +, Nagy-Egri Máté Ferenc via cmake- developers wrote: > Hi! > > I am trying to cook a CTest back-end to the Test Explorer UI > extension for VS Code as a summer project and I thought of using the > new cmake-file-api for it. The docs however are understandably scarce > and I could not muster how to obtain tests and not targets. Is it > possible with this initial API design? If not, is my best bet to > invoke CTest and parse the console output? FileAPI does not currently list CTest tests, though I agree that this would be a good thing to have, perhaps for 3.16. Is this something you'd be willing to help with? Kyle -- 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: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake-developers