Add CMake for tests folder

This commit is contained in:
Serge Lamikhov-Center 2020-10-16 10:14:56 +03:00
parent 4adaa6f1c8
commit e7f60ed754
3 changed files with 9 additions and 0 deletions

7
tests/CMakeLists.txt Normal file
View File

@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.12.4)
project(ELFIOTest)
set(CMAKE_CXX_STANDARD 11)
add_executable(ELFIOTest ELFIOTest.cpp ELFIOTest1.cpp ELFIOTest2.cpp)
include_directories(SYSTEM ${CMAKE_SOURCE_DIR}/..)

View File

@ -1,5 +1,6 @@
AM_CPPFLAGS = -I$(top_srcdir)/..
bin_PROGRAMS = ELFIOTest
ELFIOTest_SOURCES = ELFIOTest.cpp ELFIOTest1.cpp ELFIOTest2.cpp
EXTRA_DIST = CMakeLists.txt
TESTS=runELFtests

View File

@ -475,6 +475,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AM_CPPFLAGS = -I$(top_srcdir)/..
ELFIOTest_SOURCES = ELFIOTest.cpp ELFIOTest1.cpp ELFIOTest2.cpp
EXTRA_DIST = CMakeLists.txt
TESTS = runELFtests
all: all-am