Skip to content

CMake: introduce ADDTEST macro #78

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

Merged
merged 2 commits into from
Jan 5, 2020
Merged

CMake: introduce ADDTEST macro #78

merged 2 commits into from
Jan 5, 2020

Conversation

certik
Copy link
Member

@certik certik commented Jan 5, 2020

This simplifies the CMake code a lot.

@zbeekman let me know if this goes in the direction that you prefer with CMake.

@certik certik requested review from zbeekman and milancurcic January 5, 2020 01:45
@scivision
Copy link
Member

That seems like a nice macro, particularly since so many tests have that pattern

@certik certik merged commit 4984855 into fortran-lang:master Jan 5, 2020
@certik certik deleted the cmake branch January 5, 2020 06:27
@certik
Copy link
Member Author

certik commented Jan 5, 2020

Thanks for the review!

@zbeekman
Copy link
Member

zbeekman commented Jan 6, 2020

@certik nice one! Yes, this is exactly the sort of thing I would have done myself. I'm not 100% sure about having it as a macro instead of a function, but we can iterate on that idea later. Great starting point!

@certik
Copy link
Member Author

certik commented Jan 6, 2020

@zbeekman go ahead and create a function. I didn't even know you can create functions in CMake.

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

Successfully merging this pull request may close these issues.

4 participants