Skip to content

Conversation

@hahnjo
Copy link
Member

@hahnjo hahnjo commented Jan 14, 2026

No description provided.

They are important when building with GNU Make, to avoid looking at
dependencies but always rebuild the target.
Commit f5fca06 added them for the ROOTTEST_GENERATE_* macros, but
we also need them for manually registered build tests.
@hahnjo hahnjo self-assigned this Jan 14, 2026
@hahnjo hahnjo requested a review from bellenot as a code owner January 14, 2026 09:54
@hahnjo hahnjo requested a review from dpiparo as a code owner January 14, 2026 09:54
add_test(NAME ${GENERATE_DICTIONARY_TEST}
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR}
--target ${ATLASLIKEDATAVECTOR_DICTNAME} ${ATLASLIKEDATAVECTOR_LIB})
--target ${ATLASLIKEDATAVECTOR_DICTNAME}${fast} ${ATLASLIKEDATAVECTOR_LIB}${fast} -- ${always-make})
Copy link
Member

@vepadulano vepadulano Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About this specific line, IIUC this PR #19344 should practically do the same thing by moving to using ROOTTEST_GENERATE_DICTIONARY which by default uses both ${fast} and ${always_make}. Since that PR is now working (just needs an approval), we could wait to merge that one and you could then rebase this one, or viceversa.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, let's do that. I will then rebase this PR.

-- ${always-make})
# --target ${targetname_libgen}${fast})
set_property(TEST roottest-cling-dict-ROOT-8096-build PROPERTY ENVIRONMENT ${ROOTTEST_ENVIRONMENT})
if(CMAKE_GENERATOR MATCHES Ninja AND NOT MSVC)
Copy link
Member

@bellenot bellenot Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not clear to me if the AND NOT MSVC part is really needed. I guess I'll have to try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants