Open ferdymercury opened 7 hours ago
Probably, these part of the CMake should be under an "if" that checks if it's a standalone build or not:
And the hardcoded path should be amended.
configure_file(
c:/d/Slicer/CMake/qSlicerExport.h.in
${CMAKE_CURRENT_BINARY_DIR}/${MY_EXPORT_HEADER_PREFIX}Export.h
)
set(dynamicHeaders
"${dynamicHeaders};${CMAKE_CURRENT_BINARY_DIR}/${MY_EXPORT_HEADER_PREFIX}Export.h")
Hi @cpinter @TrosnyogoSzakoca thanks for this first version!
I am trying to build the software on Linux.
I get this error: there is something hard-coded in the CMakeLists for windows users that shouldn't be there. Also, when building without Slicer, there shouldn't be any qSlicerExport file being generated?
Thanks for your work!