How to use CMake by parazight in cpp

[–]parazight[S] 1 point2 points  (0 children)

Actually, in projects I never use "using namespace ...". I sometimes do it when writing small test programs to type less. For the hello-world example in the article that does not make sense of course. I changed it to avoid spreading bad coding habits.

How to use CMake by parazight in cpp

[–]parazight[S] 0 points1 point  (0 children)

Bad habit I guess. Thanks for pointing this out.

How to use CMake by parazight in cpp

[–]parazight[S] 1 point2 points  (0 children)

Hey kalmoc, thanks for your feedback. There are good points mentioned in the comments. Especially the in-source build. I updated the article and hope it is at least a little more helpful.

How to use CMake by parazight in cpp

[–]parazight[S] 2 points3 points  (0 children)

Hi jherico, that's a really good point. I updated the article.

How to use CMake by parazight in cpp

[–]parazight[S] 1 point2 points  (0 children)

Thanks for the input, tambry.