-
Notifications
You must be signed in to change notification settings - Fork 33
Force to rerun cmake before building from the custom build target. #45
base: master
Are you sure you want to change the base?
Conversation
Sorry cannot resist to comment ;-):
|
@papadop I understand ;) |
…usual cmake variable not marked as advanced.
papadop commented on 3e3c54c 10 days ago Either boost is required for all arch 1) or not 2). well, if you run the superproject on windows it fail at the medirnia step and ask for the Boost_INCLUDE_DIR, that's why I add this. |
if 2) the Boost stuff in cmake_args should br conditional (no point of defining variable with incorrect values). Done. |
Good for me |
I'm having quite a hard time with Boost on jenkins release jobs. It would seem that this branch could solve it. Do we merge it or is there anything against it ? |
Alright I found a workaround, so no need to merge this one if we don't want to |
So, we just had the Jenkins Unix slaves fail because of your "awesome way to list files to add to a project" 👍 When a file is removed, CMakeLists aren't directly modified any more, so CMake doesn't know to re-generate the Makefiles, and so we get errors about missing files to generate targets. I fixed it in Jenkins by adding: I'm in favour of adding the force-configure-then-build for the |
Yes. it's used in medVtkInria for the legendre function in one file related to the SH. |
OK, so I'm in favour or merging this. Could someone on windows make sure this doesn't break anything ? @Hakim-F or @LoicCadour |
I'll watch this (or make @Hakim-F watch this) when I have time. |
This is needed thanks to our awesome way to list files to add to a project (no comment please).
It also fixes a kind of bug, that caused certain project build twice. the problem was that we rely on the ${binary_dir } variable to know from where run the build command of each project but it was empty for DCMTK and the command was running by default from {CMAKE_BINARY_DIR}. in other words instead of build DCMTK we were just building one more time the whole super project...
I also take the oportunity to integrate the PR #33.
The PR#43 is also integrated, except the DDCMTK_OVERWRITE_WIN32_COMPILER_FLAGS:BOOL=OFF. (i can't tell wich is the best i just know that i had some trouble in other projects with this variable to ON)