Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.FORCE targets or :force: dependencies #104

Open
cspiel opened this issue Apr 16, 2018 · 0 comments
Open

.FORCE targets or :force: dependencies #104

cspiel opened this issue Apr 16, 2018 · 0 comments

Comments

@cspiel
Copy link
Collaborator

cspiel commented Apr 16, 2018

Currently, i.e. as of version 0.10.3, we do not have a straightforward syntax to short-circuit
all the make logic and just build a target. GNUMake provides special FORCE targets for
this purpose.

We can however construct a target with similar properties in OMake by combining
a :value: dependency with the random function:

current-processes.text: :value: $(random)
        ps aux  > $@

Still, I would like to make the suggestion to add .FORCE targets or :force:
special dependencies to OMake, which translate the above example to

.FORCE: current-processes.text
current-processes.text:
        ps aux  > $@

or

current-processes.text: :force:
        ps aux  > $@

and state the writers intentions more clearly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant