This commit is contained in:
@ -66,6 +66,7 @@ add_dependencies(${PROJECT_EXE_NAME} run_prebuild_script)
|
||||
target_include_directories(${PROJECT_EXE_NAME} PRIVATE
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/src/autogen>
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/autogen
|
||||
)
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@ DO NOT EDIT VERSION.HPP!
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace dropshell {
|
||||
namespace ipdemo {
|
||||
|
||||
// Version information
|
||||
const std::string VERSION = "@PROJECT_VERSION@";
|
||||
|
@ -7,6 +7,8 @@
|
||||
#include "version.hpp"
|
||||
|
||||
int main() {
|
||||
std::cout << "ipdemo version: " << ipdemo::VERSION << std::endl;
|
||||
std::cout << std::endl;
|
||||
std::cout << "Retrieving IP address..." << std::endl;
|
||||
|
||||
httplib::Client cli("http://ipinfo.io");
|
||||
|
@ -10,7 +10,7 @@ DO NOT EDIT VERSION.HPP!
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace dropshell {
|
||||
namespace ipdemo {
|
||||
|
||||
// Version information
|
||||
const std::string VERSION = "@PROJECT_VERSION@";
|
||||
|
Reference in New Issue
Block a user