Skip to content

Commit

Permalink
Update genlib header includes
Browse files Browse the repository at this point in the history
  • Loading branch information
pklampros committed Sep 30, 2024
1 parent 2e3d766 commit a61ce10
Show file tree
Hide file tree
Showing 29 changed files with 30 additions and 36 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[submodule "salalib"]
path = salalib
url = ../../spatialnous/salalib
[submodule "genlib"]
path = genlib
url = ../../spatialnous/genlib
[submodule "depthmapXcli/dxinterface"]
path = depthmapXcli/dxinterface
url = ../../spatialnous/dxinterface.git
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ set(MODULES_CLI_TEST FALSE)
set(MODULES_CORE TRUE)
set(MODULES_CORE_TEST FALSE)

add_subdirectory(genlib)
add_subdirectory(genlibTest)
add_subdirectory(salalib)
add_subdirectory(modules) # only the core modules are loaded here
Expand Down
2 changes: 1 addition & 1 deletion cliTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ set(external_SRCS

include_directories(SYSTEM "../ThirdParty/Catch" "../ThirdParty/FakeIt")

set(LINK_LIBS salalib genlib)
set(LINK_LIBS salalib)

set(modules_cliTest "" CACHE INTERNAL "modules_cliTest" FORCE)
set(MODULES_GUI FALSE)
Expand Down
2 changes: 1 addition & 1 deletion depthmapXcli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ set(depthmapXcli_SRCS
mapconvertparser.cpp
segmentshortestpathparser.cpp)

set(LINK_LIBS salalib genlib)
set(LINK_LIBS salalib)

set(modules_cli "" CACHE INTERNAL "modules_cli" FORCE)
set(MODULES_GUI FALSE)
Expand Down
2 changes: 1 addition & 1 deletion depthmapXcli/agentparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "commandlineparser.h"
#include "imodeparser.h"

#include "genlib/p2dpoly.h"
#include "salalib/genlib/p2dpoly.h"

#include <string>

Expand Down
2 changes: 1 addition & 1 deletion depthmapXcli/axialparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include "imodeparser.h"

#include "genlib/p2dpoly.h"
#include "salalib/genlib/p2dpoly.h"

class AxialParser : public IModeParser {
public:
Expand Down
2 changes: 1 addition & 1 deletion depthmapXcli/dxinterface
2 changes: 1 addition & 1 deletion depthmapXcli/exceptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#pragma once

#include "genlib/exceptions.h"
#include "salalib/genlib/exceptions.h"

#include <string>

Expand Down
2 changes: 1 addition & 1 deletion depthmapXcli/printcommunicator.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#pragma once

#include "genlib/comm.h"
#include "salalib/genlib/comm.h"

class PrintCommunicator : public ICommunicator {
public:
Expand Down
2 changes: 1 addition & 1 deletion depthmapXcli/segmentshortestpathparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include "imodeparser.h"

#include "genlib/p2dpoly.h"
#include "salalib/genlib/p2dpoly.h"

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion depthmapXcli/stepdepthparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include "imodeparser.h"

#include "genlib/p2dpoly.h"
#include "salalib/genlib/p2dpoly.h"

#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion depthmapXcli/visprepparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include "imodeparser.h"

#include "genlib/p2dpoly.h"
#include "salalib/genlib/p2dpoly.h"

#include <vector>

Expand Down
1 change: 0 additions & 1 deletion genlib
Submodule genlib deleted from 1da391
2 changes: 1 addition & 1 deletion genlibTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set(external_SRCS
) # external_SRCS

set(LINK_LIBS
genlib)
salalib)

include_directories(SYSTEM "../ThirdParty/Catch")

Expand Down
6 changes: 3 additions & 3 deletions genlibTest/testbspnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
//
// SPDX-License-Identifier: GPL-3.0-or-later

#include "genlib/bsptree.h"
#include "genlib/comm.h"
#include "genlib/p2dpoly.h"
#include "salalib/genlib/bsptree.h"
#include "salalib/genlib/comm.h"
#include "salalib/genlib/p2dpoly.h"

#include "catch_amalgamated.hpp"

Expand Down
2 changes: 1 addition & 1 deletion genlibTest/testcontainerutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: GPL-3.0-or-later

#include "genlib/containerutils.h"
#include "salalib/genlib/containerutils.h"

#include "catch_amalgamated.hpp"

Expand Down
2 changes: 1 addition & 1 deletion genlibTest/testreadwritehelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include "cliTest/selfcleaningfile.h"

#include "genlib/readwritehelpers.h"
#include "salalib/genlib/readwritehelpers.h"

#include "catch_amalgamated.hpp"

Expand Down
2 changes: 1 addition & 1 deletion genlibTest/testsimplematrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: GPL-3.0-or-later

#include "genlib/simplematrix.h"
#include "salalib/genlib/simplematrix.h"

#include "catch_amalgamated.hpp"

Expand Down
2 changes: 1 addition & 1 deletion genlibTest/teststringutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//
// SPDX-License-Identifier: GPL-3.0-or-later

#include "../genlib/stringutils.h"
#include "salalib/genlib/stringutils.h"

#include "../cliTest/selfcleaningfile.h"
#include "catch_amalgamated.hpp"
Expand Down
2 changes: 1 addition & 1 deletion moduleTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ set_source_files_properties(
)
target_compile_options(${moduleTest} PRIVATE ${COMPILE_WARNINGS})

target_link_libraries(${moduleTest} salalib genlib ${modules_coreTest} ${modules_core})
target_link_libraries(${moduleTest} salalib ${modules_coreTest} ${modules_core})
2 changes: 1 addition & 1 deletion salaTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ set(external_SRCS

include_directories(SYSTEM "../ThirdParty/Catch" "../ThirdParty/FakeIt")

set(LINK_LIBS salalib genlib)
set(LINK_LIBS salalib)

add_executable(${salaTest} ${salaTest_SRCS})

Expand Down
4 changes: 2 additions & 2 deletions salaTest/testdxfp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include "salalib/parsers/dxfp.h"

#include "genlib/comm.h"
#include "genlib/p2dpoly.h"
#include "salalib/genlib/comm.h"
#include "salalib/genlib/p2dpoly.h"

#include "catch_amalgamated.hpp"

Expand Down
2 changes: 1 addition & 1 deletion salaTest/testentityparsing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include "salalib/entityparsing.h"

#include "genlib/p2dpoly.h"
#include "salalib/genlib/p2dpoly.h"

#include "catch_amalgamated.hpp"

Expand Down
2 changes: 1 addition & 1 deletion salaTest/testgeometrygenerators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include "salalib/geometrygenerators.h"

#include "genlib/p2dpoly.h"
#include "salalib/genlib/p2dpoly.h"

#include "catch_amalgamated.hpp"

Expand Down
5 changes: 2 additions & 3 deletions salaTest/testisovist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@

#include "salalib/isovistutils.h"
#include "salalib/salashape.h"
#include "salalib/shapemapgroupdata.h"

#include "genlib/comm.h"
#include "genlib/p2dpoly.h"
#include "salalib/genlib/comm.h"
#include "salalib/genlib/p2dpoly.h"

#include "catch_amalgamated.hpp"

Expand Down
2 changes: 1 addition & 1 deletion salaTest/testsalaprogram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "../salalib/mapconverter.h"
#include "catch_amalgamated.hpp"
#include "genlib/p2dpoly.h"
#include "salalib/genlib/p2dpoly.h"
#include "salalib/salaprogram.h"
#include "salalib/shapegraph.h"
#include "salalib/shapemapgroupdata.h"
Expand Down
2 changes: 1 addition & 1 deletion salaTest/testshapegraphs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "salalib/shapegraph.h"
#include "salalib/shapemap.h"

#include "genlib/p2dpoly.h"
#include "salalib/genlib/p2dpoly.h"

#include "catch_amalgamated.hpp"
#include "salalib/shapemapgroupdata.h"
Expand Down
2 changes: 1 addition & 1 deletion salaTest/testshapemaps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "salalib/mapconverter.h"
#include "salalib/shapemap.h"

#include "genlib/p2dpoly.h"
#include "salalib/genlib/p2dpoly.h"

#include "catch_amalgamated.hpp"

Expand Down

0 comments on commit a61ce10

Please sign in to comment.