aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-02-03 19:40:10 +0530
committerArun Isaac2021-02-03 19:40:10 +0530
commit983f091af7849f259366f641b438ac1fee3df940 (patch)
treefd42196b6031638fd906afd8acbc5c26e34ce305
parent707afdfe66dd9c931af77e4ff73186fd89ed27fd (diff)
downloadnsmc-983f091af7849f259366f641b438ac1fee3df940.tar.gz
nsmc-983f091af7849f259366f641b438ac1fee3df940.tar.lz
nsmc-983f091af7849f259366f641b438ac1fee3df940.zip
Move source files and headers to separate directories.
* extent-sampling.h, gaussian-nd-random.h, nd-random.h, oracles.h, utils.h: Move into include directory. * extent-sampling.c, gaussian-nd-random.c, nd-random.c, oracles.c, utils.c: Move into src directory. * CMakeLists.txt: Set include as include directory. Look for source files inside src directory.
-rw-r--r--CMakeLists.txt4
-rw-r--r--include/extent-sampling.h (renamed from extent-sampling.h)0
-rw-r--r--include/gaussian-nd-random.h (renamed from gaussian-nd-random.h)0
-rw-r--r--include/nd-random.h (renamed from nd-random.h)0
-rw-r--r--include/oracles.h (renamed from oracles.h)0
-rw-r--r--include/utils.h (renamed from utils.h)0
-rw-r--r--src/extent-sampling.c (renamed from extent-sampling.c)0
-rw-r--r--src/gaussian-nd-random.c (renamed from gaussian-nd-random.c)0
-rw-r--r--src/nd-random.c (renamed from nd-random.c)0
-rw-r--r--src/oracles.c (renamed from oracles.c)0
-rw-r--r--src/utils.c (renamed from utils.c)0
11 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 01639b2..94264c7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,5 +3,7 @@ project(extent-sampling VERSION 0.1)
find_package(GSL REQUIRED)
-file(GLOB SOURCES "*.c")
+include_directories("include")
+file(GLOB SOURCES "src/*.c")
+
add_library(extentsampling SHARED ${SOURCES})
diff --git a/extent-sampling.h b/include/extent-sampling.h
index 8ed3fb2..8ed3fb2 100644
--- a/extent-sampling.h
+++ b/include/extent-sampling.h
diff --git a/gaussian-nd-random.h b/include/gaussian-nd-random.h
index 951cb10..951cb10 100644
--- a/gaussian-nd-random.h
+++ b/include/gaussian-nd-random.h
diff --git a/nd-random.h b/include/nd-random.h
index 9637a0e..9637a0e 100644
--- a/nd-random.h
+++ b/include/nd-random.h
diff --git a/oracles.h b/include/oracles.h
index a661c94..a661c94 100644
--- a/oracles.h
+++ b/include/oracles.h
diff --git a/utils.h b/include/utils.h
index 220320e..220320e 100644
--- a/utils.h
+++ b/include/utils.h
diff --git a/extent-sampling.c b/src/extent-sampling.c
index eff3b3f..eff3b3f 100644
--- a/extent-sampling.c
+++ b/src/extent-sampling.c
diff --git a/gaussian-nd-random.c b/src/gaussian-nd-random.c
index 16abc94..16abc94 100644
--- a/gaussian-nd-random.c
+++ b/src/gaussian-nd-random.c
diff --git a/nd-random.c b/src/nd-random.c
index 25abc7a..25abc7a 100644
--- a/nd-random.c
+++ b/src/nd-random.c
diff --git a/oracles.c b/src/oracles.c
index 80f401f..80f401f 100644
--- a/oracles.c
+++ b/src/oracles.c
diff --git a/utils.c b/src/utils.c
index 0e0205f..0e0205f 100644
--- a/utils.c
+++ b/src/utils.c