mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-05 16:31:01 +02:00
move includes into project directory and create version header
This commit is contained in:
parent
47f89bf102
commit
81fdc61cb1
6 changed files with 17 additions and 5 deletions
|
@ -38,4 +38,3 @@ set_target_properties(GreeterStandalone PROPERTIES
|
|||
)
|
||||
|
||||
target_link_libraries(GreeterStandalone Greeter cxxopts)
|
||||
target_compile_definitions(GreeterStandalone PRIVATE -DGREETER_VERSION=\"${Greeter_VERSION}\")
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include <greeter.h>
|
||||
#include <greeter/greeter.h>
|
||||
#include <greeter/version.h>
|
||||
|
||||
#include <cxxopts.hpp>
|
||||
#include <iostream>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue