This commit is contained in:
Rafat Hussain 2019-09-06 09:10:03 +05:30
parent 36f0d305c1
commit f2bf77feb8
10 changed files with 8 additions and 23 deletions

View File

@ -30,7 +30,7 @@ if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
endif()
# make include globaly visible
set(PROJECT_WIDE_INCLUDE ${WAVELIB_SRC_ROOT}/include)
set(PROJECT_WIDE_INCLUDE ${WAVELIB_SRC_ROOT}/header)
include_directories(${PROJECT_WIDE_INCLUDE})

View File

@ -4,7 +4,7 @@
#include <string.h>
#include "waux.h"
#include "wauxlib.h"
#include "../header/wauxlib.h"
denoise_object denoise_init(int length, int J,const char* wname) {
denoise_object obj = NULL;

View File

@ -1,4 +1,4 @@
#include "wauxlib.h"
#include "../header/wauxlib.h"
#include "waux.h"
int compare_double(const void* a, const void* b)

View File

@ -27,5 +27,5 @@ add_library(wavelib STATIC ${SOURCE_FILES} ${HEADER_FILES})
set_property(TARGET wavelib PROPERTY FOLDER "lib")
target_include_directories(wavelib PUBLIC ${CMAKE_SOURCE_DIR}/header)
target_include_directories(wavelib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}../header)

View File

@ -12,7 +12,7 @@
#include <math.h>
#include <string.h>
#include "wavelib.h"
#include "../header/wavelib.h"
#ifdef __cplusplus
extern "C" {

View File

@ -8,7 +8,7 @@
#include <string.h>
#include "cwt.h"
#include "wavelib.h"
#include "../header/wavelib.h"
#include "wtmath.h"
wave_object wave_init(const char* wname) {

View File

@ -1,5 +0,0 @@
#define BOOST_TEST_MODULE WaveLibTests
#include <boost/test/included/unit_test.hpp>

View File

@ -1,10 +0,0 @@
#ifndef SWALLOWING_BOOSTTEST_H_
#define SWALLOWING_BOOSTTEST_H_
// we use the header only version of boost unit test
#define BOOST_TEST_NO_LIB
#include <boost/test/unit_test.hpp>
#endif // SWALLOWING_BOOSTTEST_H_

View File

@ -16,7 +16,7 @@ add_dependencies(wavelibLibTests wavelib)
target_link_libraries(wavelibLibTests wavelib)
target_include_directories(wavelibLibTests PUBLIC
${CMAKE_SOURCE_DIR}/../../header
${CMAKE_CURRENT_SOURCE_DIR}/../../header
)

View File

@ -10,7 +10,7 @@
#include <cstdlib>
#include <cstring>
#include "wavelib.h"
#include "../../header/wavelib.h"
#include<vector>