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

lab1 #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

lab1 #41

wants to merge 1 commit into from

Conversation

sayandahiyagt
Copy link

i have finished lab1 and have attached all the related files within a folder titled my name: "Sayan"


target_include_directories(HelloWorldlib PUBLIC include)

# target_compile_features(HelloWorldlib PUBLIC cxx_std_11)
Copy link
Contributor

Choose a reason for hiding this comment

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

please dont include commented code

@@ -0,0 +1,8 @@
#pragma once
// #include <iostream>
Copy link
Contributor

@RCMast3r RCMast3r Sep 3, 2024

Choose a reason for hiding this comment

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

see comment about includes

@@ -0,0 +1,7 @@
#include "/Users/sayandahiya/Desktop/Hytech/lab1_hard_project/include/hello_world.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

please do not include header files like this, this is setup by cmake for you:

https://cliutils.gitlab.io/modern-cmake/chapters/basics.html#targets-are-your-friend

@@ -0,0 +1,7 @@

#include </Users/sayandahiya/Desktop/Hytech/lab1_hard_project/include/hello_world.h>
Copy link
Contributor

Choose a reason for hiding this comment

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

see previous comment about includes

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.

2 participants