rework reveng<>cliparser

This commit is contained in:
Philippe Teuwen 2020-04-19 13:13:13 +02:00
parent 07f3022aa6
commit e4dea67cf3
3 changed files with 3 additions and 3 deletions

View file

@ -10,6 +10,6 @@ add_library(reveng STATIC
)
target_compile_definitions(reveng PRIVATE PRESETS)
target_include_directories(reveng PRIVATE .)
target_include_directories(reveng PRIVATE ../cliparser)
target_include_directories(reveng INTERFACE reveng)
target_compile_options(reveng PRIVATE -Wall -Werror -O3)

View file

@ -4,7 +4,7 @@
# Add -DPRESETS to compile with preset models (edit config.h)
MYSRCPATHS =
MYINCLUDES = -I. -I..
MYINCLUDES = -I../cliparser
MYCFLAGS = -std=c99 -D_ISOC99_SOURCE
MYDEFS = -DPRESETS
MYSRCS = \

View file

@ -53,7 +53,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "cliparser/getopt.h"
#include "getopt.h"
#ifdef _WIN32
# include <io.h>
# include <fcntl.h>