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

[WIP] I just need to add link library path, which I'm not sure what should … #8

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

watkinsmi0523
Copy link

…go here.

@watkinsmi0523 watkinsmi0523 changed the title I just need to add link library path, which I'm not sure what should … [WIP] I just need to add link library path, which I'm not sure what should … Mar 2, 2016
@watkinsmi0523
Copy link
Author

Ok, so I realized I need two CMakeLists.....will fix later

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

set(SOURCE_FILES main.cpp)
set(LIBRARY_FILES lib/reader.h lib/reader.cpp)
Copy link

Choose a reason for hiding this comment

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

I don't have this line set(LIBRARY_FILES lib/reader.h lib/reader.cpp) in either of my CMakeLists, maybe that is the problem. Also it might give you an error if there is an error in your library program too. You will have to build the library too in order for it to show up in the debugging folder.

@ninjapanzer
Copy link
Member

Good work! PERFECT!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants