Custom application build fails due to missing DESCRIPTION_FILE after upgrade to 5.6.2

Hello,
I have a custom application which built and ran fine on 5.4.x. After upgrading the dependencies to 5.6.2 and the latest versions of the plugins which I use, the build fails with

CMake Error at CMake/SlicerMacroBuildApplication.cmake:66 (message):
  error: Variable DESCRIPTION_FILE set to
  /home/darabi/wrk/medical/3d/myapp/build/slicersources-src/README.txt
  corresponds to an nonexistent file.
Call Stack (most recent call first):
  /home/darabi/wrk/medical/3d/myapp/MyApp/Applications/MyAppApp/CMakeLists.txt:57 (slicerMacroBuildAppLibrary)


-- Configuring incomplete, errors occurred!
See also "/home/darabi/wrk/medical/3d/myapp/cpbuild/Slicer-build/CMakeFiles/CMakeOutput.log".
See also "/home/darabi/wrk/medical/3d/myapp/cpbuild/Slicer-build/CMakeFiles/CMakeError.log".
make[2]: *** [slicersources-build/CMakeFiles/Slicer.dir/build.make:123: slicersources-build/Slicer-prefix/src/Slicer-stamp/Slicer-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:1346: slicersources-build/CMakeFiles/Slicer.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I probably need to configure something in addition?

Thank you for your help

Kambiz

Sorry for the noise, I was grepping with a typo!

Found the variable in slicer-application-properties.cmake.

1 Like

Below is the corresponding commit change to the Slicer CustomAppTemplate. You can generally review the latest commits in that repo to update your custom app to the latest versions of configurations (as though you created a brand new custom app using latest template). There are some recent additions such as applying the ruff linter using GitHub Actions to keep your custom app in line with Slicer linting.

1 Like

Thank you for the hint. In fact, that was the repo where I was trying to find DESCRIPTION_FILE, but if you misspell it, you’ll never find anything :wink: