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

Grading based on HW2 solutions #37

Open
remustawfik opened this issue Jan 30, 2020 · 5 comments
Open

Grading based on HW2 solutions #37

remustawfik opened this issue Jan 30, 2020 · 5 comments

Comments

@remustawfik
Copy link

Hi,

I just wanted to know if we will be graded with the supplied HW2 solutions build or based on our own HW2 solutions. Thank you.

@darren-moore
Copy link

You should submit all files, as required on MarkUs, but we will use the supplied HW2 library for grading.

@ginkxo
Copy link

ginkxo commented Jan 30, 2020

could someone clarify how the HW2 reference code is accessed via hw2lib? is it just something done at compile time?

@remustawfik
Copy link
Author

Yes also as a follow up, is it possible to create a build-release with the correct HW2 solutions?
Thank you

@darren-moore
Copy link

Unfortunately, you can't access the HW2 source code from the lib. Recall how the compilation+linking process works.

The reference code is accessed at link time since we're using a static link library. You might contrast this to a dynamic link library (DLL), where the program will only see the code at runtime. "Static linking vs dynamic linking".

@darren-moore
Copy link

darren-moore commented Jan 30, 2020

@remustawfik You should be able to make a release build by referencing the release lib.
e.g. cmake -DCMAKE_BUILD_TYPE=Release -DHW2LIB_DIR=../lib/release/linux/ ..

Was that your question?

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

3 participants