As mentioned by Igor Tandetrik, you're not including person.cpp in the actual build
person.cpp
add_executable(${PROJECT_NAME} src/main.cpp src/person.cpp)
Should get you there.
2.1m questions
2.1m answers
60 comments
57.0k users