Skip to content

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 milancurcic and zbeekman 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

4 participants