From 7a3326e8687cd8c86750a2db8348ab34c261b426 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 29 Aug 2016 16:17:31 +0200 Subject: o Fixing host/ build. --- host/CMakeLists.txt | 15 --------------- host/elfinfo.cpp | 1 + 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index ea8894b..c991597 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -2,21 +2,6 @@ cmake_minimum_required(VERSION 3.2) project(host C CXX ASM) -add_executable(host1.elf host1.cpp - ../tinyprintf/tinyprintf.h ../tinyprintf/tinyprintf.c - ) - -target_include_directories(host1.elf PUBLIC - ../tinyprintf - ../playground/include) -target_compile_definitions(host1.elf PUBLIC TINYPRINTF_DEFINE_TFP_SPRINTF=0 TINYPRINTF_OVERRIDE_LIBC=0) - -add_executable(elf3 elf3.cpp) -target_link_libraries(elf3 elf) - -add_executable(elf4 elf4.cpp) -target_link_libraries(elf4 elf bsd) - add_executable(elfinfo elfinfo.cpp) target_compile_options(elfinfo PUBLIC "--std=c++14") target_link_libraries(elfinfo elf) diff --git a/host/elfinfo.cpp b/host/elfinfo.cpp index a929325..ffe2762 100644 --- a/host/elfinfo.cpp +++ b/host/elfinfo.cpp @@ -10,6 +10,7 @@ #include #include #include +#include using std::vector; -- cgit v1.2.3