Skip to content

Commit

Permalink
move all library files to libgeodecomp/ subdirectory, re #49
Browse files Browse the repository at this point in the history
  • Loading branch information
gentryx committed Feb 20, 2017
1 parent 2743e4b commit 6d0e63a
Show file tree
Hide file tree
Showing 479 changed files with 46 additions and 41 deletions.
10 changes: 5 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# LIBDIRS is used to find source files and headers
set(LIBDIRS communication io io/remotesteerer geometry geometry/partitions loadbalancer misc parallelization parallelization/nesting storage)
set(LIBDIRS libgeodecomp/communication libgeodecomp/io libgeodecomp/io/remotesteerer libgeodecomp/geometry libgeodecomp/geometry/partitions libgeodecomp/loadbalancer libgeodecomp/misc libgeodecomp/parallelization libgeodecomp/parallelization/nesting libgeodecomp/storage)
# AUXDIRS lists auxiliary directories to be included in the main
# build. They may for instance include additionally libraries to be
# linked into the main lib.
set(AUXDIRS)
set(SUBDIRS communication examples io geometry loadbalancer misc parallelization storage testbed)
set(SUBDIRS examples libgeodecomp/communication libgeodecomp/io libgeodecomp/geometry libgeodecomp/loadbalancer libgeodecomp/misc libgeodecomp/parallelization libgeodecomp/storage testbed)

set(CXX_TEST_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../lib/cxxtest")
set(LGD_AGGREGATED_C_FLAGS "${LGD_ADDITIONAL_C_COMPILE_FLAGS}" )
Expand Down Expand Up @@ -482,12 +482,12 @@ if (WITH_TYPEMAPS)
set_directory_properties(PROPERTIES CLEAN_NO_CUSTOM true)

add_custom_command(
OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/communication/typemaps.h" "${CMAKE_CURRENT_SOURCE_DIR}/communication/typemaps.cpp"
OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/libgeodecomp/communication/typemaps.h" "${CMAKE_CURRENT_SOURCE_DIR}/libgeodecomp/communication/typemaps.cpp"
COMMAND cd "${CMAKE_CURRENT_SOURCE_DIR}" && doxygen doxygen.conf
COMMAND ruby "${CMAKE_CURRENT_SOURCE_DIR}/../tools/typemapgenerator/generate.rb" --namespace LibGeoDecomp --header-fix "^.+/src:libgeodecomp" --macro-guard-mpi LIBGEODECOMP_WITH_MPI --macro-guard-hpx LIBGEODECOMP_WITH_HPX --macro-guard-boost LIBGEODECOMP_WITH_BOOST_SERIALIZATION "${CMAKE_CURRENT_SOURCE_DIR}/../doc/xml" --include-prefix "libgeodecomp/" "${CMAKE_CURRENT_SOURCE_DIR}/communication"
COMMAND ruby "${CMAKE_CURRENT_SOURCE_DIR}/../tools/typemapgenerator/generate.rb" --namespace LibGeoDecomp --header-fix "^.+/src:libgeodecomp" --macro-guard-mpi LIBGEODECOMP_WITH_MPI --macro-guard-hpx LIBGEODECOMP_WITH_HPX --macro-guard-boost LIBGEODECOMP_WITH_BOOST_SERIALIZATION "${CMAKE_CURRENT_SOURCE_DIR}/../doc/xml" --include-prefix "libgeodecomp/" "${CMAKE_CURRENT_SOURCE_DIR}/libgeodecomp/communication"
DEPENDS "${CMAKE_BINARY_DIR}/cache")

list(REMOVE_ITEM ALL_HEADERS "communication/typemaps.h")
list(REMOVE_ITEM ALL_HEADERS "libgeodecomp/communication/typemaps.h")
set(CANDIDATES)
foreach(i ${ALL_HEADERS})
set(CANDIDATES "${i}:${CANDIDATES}")
Expand Down
1 change: 0 additions & 1 deletion src/communication/test/parallel_hpx_4/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/communication/test/parallel_mpi_1/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/communication/test/parallel_mpi_2/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/communication/test/parallel_mpi_4/CMakeLists.txt

This file was deleted.

2 changes: 1 addition & 1 deletion src/examples/gameoflife_adcirc/hull.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <libgeodecomp/examples/gameoflife_adcirc/hull.h>
#include <algorithm>
#include "hull.h"

double cross(const FloatCoord<2> &o, const FloatCoord<2> &a, const FloatCoord<2> &b)
{
Expand Down
2 changes: 1 addition & 1 deletion src/examples/gameoflife_adcirc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <hpx/hpx_init.hpp>
#include <libgeodecomp.h>

#include <libgeodecomp/examples/gameoflife_adcirc/hull.h>
#include "hull.h"

using namespace LibGeoDecomp;

Expand Down
1 change: 0 additions & 1 deletion src/geometry/test/parallel_hpx_1/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/geometry/test/parallel_mpi_4/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/geometry/test/parallel_mpi_9/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/geometry/test/unit/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/io/test/parallel_mpi_1/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/io/test/parallel_mpi_2/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/io/test/unit/CMakeLists.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include(../../../../../../CMakeModules/CMakeLists.test.txt)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include(../../../../../../CMakeModules/CMakeLists.test.txt)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include(../../../../../../CMakeModules/CMakeLists.test.txt)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include(../../../../../../CMakeModules/CMakeLists.test.txt)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/libgeodecomp/io/test/parallel_mpi_2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include(../../../../../CMakeModules/CMakeLists.test.txt)
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/libgeodecomp/io/test/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include(../../../../../CMakeModules/CMakeLists.test.txt)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/libgeodecomp/loadbalancer/test/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include(../../../../../CMakeModules/CMakeLists.test.txt)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/libgeodecomp/misc/test/parallel_mpi_1/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include(../../../../../CMakeModules/CMakeLists.test.txt)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include(../../../../../CMakeModules/CMakeLists.test.txt)
1 change: 1 addition & 0 deletions src/libgeodecomp/misc/test/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include(../../../../../CMakeModules/CMakeLists.test.txt)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 6d0e63a

Please sign in to comment.