Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Updates to cmake #310

Merged
merged 3 commits into from
Feb 2, 2022
Merged

Updates to cmake #310

merged 3 commits into from
Feb 2, 2022

Conversation

heiner
Copy link
Contributor

@heiner heiner commented Feb 1, 2022

This aligns our NLE cmake files with my proposal for a CMake-based NetHack-build, here and here. In particular it adds some defensive measures when building NLE with cmake after building some artefacts with NetHack's Makefile setup.

The change in of not using $<TARGET_FILE:...> generators as the COMMAND of add_custom_command comes from feedback from a PR for NetHack.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 1, 2022
In this special case, dat/dungeon etc exists and CMake picks up on
that file instead of the generated one, re-introducing the race
condition on makedefs -e and dlb cf nhdat.
Copy link
Contributor

@cdmatters cdmatters left a comment

Choose a reason for hiding this comment

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

One comment.

dat/CMakeLists.txt Outdated Show resolved Hide resolved
A cherry-picking failure.
@heiner heiner merged commit ed324b0 into main Feb 2, 2022
@heiner heiner deleted the heiner/cmake-updates branch February 2, 2022 12:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants