September 2018
Intermediate to advanced
606 pages
14h 32m
English
These two new files will also have to be compiled and we have to modify CMakeLists.txt accordingly. However, in this example we want to compile them first into a library, and not directly into the executable:
add_library(message STATIC Message.hpp Message.cpp )
add_executable(hello-world hello-world.cpp)
target_link_libraries(hello-world message)
Read now
Unlock full access