I have this code that runs during configuration time:
if (NOT EXISTS "${PROJECT_BINARY_DIR}/tmpdir/")
file (MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/tmpdir/")
message ("Generating tmpdir directory")
endif ()
How do I implement the above code but in build time?