Re: [CMake] How to set CTEST_BUILD_NAME

2018-12-16 Thread Donald MacQueen [|]
Hi Xavier, That worked like a charm! Thanks very much. Thanks too to Craig for the link. I had not seen that before. On 12/16/2018 6:15 PM, Xavier Besseron wrote: Hi Donald, For my project, I do it this way. In my CMakeLists.txt, I first set the variable BUILDNAME in cache before calling `in

Re: [CMake] How to set CTEST_BUILD_NAME

2018-12-16 Thread Xavier Besseron
Hi Donald, For my project, I do it this way. In my CMakeLists.txt, I first set the variable BUILDNAME in cache before calling `include(CTest)`. # define BUILDNAME, used to submit jobs to CDash set(BUILDNAME "Whatever you want" CACHE STRING "" FORCE) # This must be called after SITE and BUIL

Re: [CMake] How to set CTEST_BUILD_NAME

2018-12-16 Thread Craig Scott
On Mon, Dec 17, 2018 at 6:41 AM Donald MacQueen [|] < dm...@instantiations.com> wrote: > I want to do something like set(CTEST_BUILD_NAME > {CMAKE_SYSTEM_NAME}_someLocalVariable) > > I tried putting this ^^ in CTestConfig.cmake with no luck. > > I searched the docs and the archives from 2014 to th

[CMake] How to set CTEST_BUILD_NAME

2018-12-16 Thread Donald MacQueen [|]
I want to do something like set(CTEST_BUILD_NAME {CMAKE_SYSTEM_NAME}_someLocalVariable) I tried putting this ^^ in CTestConfig.cmake with no luck. I searched the docs and the archives from 2014 to the present and nothing jumped out at me. 2) Is there a list of what can be set/used in CTestCo