Commit 5e8e95b5 authored by Damien L-G's avatar Damien L-G

Remove noname_ prefix to files

parent ed336941
#include <benchmark/benchmark.h>
#include <noname_Map.hpp>
#include <noname_Parser.hpp>
#include <noname_Spline2D.hpp>
#include <Map.hpp>
#include <Parser.hpp>
#include <Spline2D.hpp>
#include <fstream>
#include <iostream>
......
......@@ -24,7 +24,7 @@ add_dependencies(gsl project_gsl)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
add_library(noname STATIC noname.cpp noname_Map.cpp)
add_library(noname STATIC noname.cpp Map.cpp)
target_include_directories(noname PUBLIC ${CMAKE_SOURCE_DIR})
target_include_directories(noname PUBLIC ${install_dir}/include)
target_link_libraries(noname PRIVATE gsl)
......@@ -35,24 +35,24 @@ install (TARGETS noname
LIBRARY DESTINATION lib
)
add_executable(Spline2D noname_TestSpline2D.cpp)
add_executable(Spline2D TestSpline2D.cpp)
target_link_libraries(Spline2D noname)
enable_testing()
add_test(NAME testSpline2D COMMAND Spline2D)
add_test(NAME TestSpline2D COMMAND Spline2D)
# FIXME
file(COPY ${CMAKE_SOURCE_DIR}/dummy.csv DESTINATION ${CMAKE_BINARY_DIR})
add_executable(Map noname_TestMap.cpp)
add_executable(Map TestMap.cpp)
target_link_libraries(Map noname)
add_test(NAME testMap COMMAND Map)
add_test(NAME TestMap COMMAND Map)
add_executable(example noname_example.cpp)
target_link_libraries(example noname)
add_test(NAME testExample COMMAND example)
add_executable(Example Example.cpp)
target_link_libraries(Example noname)
add_test(NAME Example COMMAND example)
find_package(benchmark)
if(benchmark_FOUND)
add_executable(benchmark noname_benchmark.cpp)
target_link_libraries(benchmark noname benchmark::benchmark)
add_test(NAME testBenchmark COMMAND benchmark)
add_executable(Benchmark Benchmark.cpp)
target_link_libraries(Benchmark noname benchmark::benchmark)
add_test(NAME Benchmark COMMAND benchmark)
endif()
#include <noname_Map.hpp>
#include <noname_Parser.hpp>
#include <noname_Spline2D.hpp>
#include <Map.hpp>
#include <Parser.hpp>
#include <Spline2D.hpp>
#include <algorithm>
#include <cstddef>
......
#ifndef NONAME_MAP
#define NONAME_MAP
#include <noname_Spline2D.hpp>
#include <Spline2D.hpp>
#include <map>
#include <memory>
......
#include <noname_Map.hpp>
#include <noname_Spline2D.hpp>
#include <noname_TestAssertionMacros.hpp>
#include <Map.hpp>
#include <Spline2D.hpp>
#include <TestAssertionMacros.hpp>
#include <cassert>
#include <stdexcept>
......
#include <noname_Spline2D.hpp>
#include <noname_TestAssertionMacros.hpp>
#include <Spline2D.hpp>
#include <TestAssertionMacros.hpp>
#include <gsl/gsl_interp2d.h>
......
#include <noname.h>
#include <noname_Map.hpp>
#include <noname_Spline2D.hpp>
#include <Map.hpp>
#include <Spline2D.hpp>
using namespace noname;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment