Skip to content

Commit

Permalink
agrega utiles.cpp como submodulo y elimina conflictos de espacio de n…
Browse files Browse the repository at this point in the history
…ombres
  • Loading branch information
Hernanatn committed Jan 19, 2025
1 parent 3d4ad90 commit 2369dbf
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 48 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "externos/Catch2"]
path = externos/Catch2
url = https://github.com/catchorg/Catch2
[submodule "externos/utiles.cpp"]
path = externos/utiles.cpp
url = https://github.com/Hernanatn/utiles.cpp
2 changes: 2 additions & 0 deletions CMakelists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ target_include_directories(errores-- INTERFACE fuente)
set(CATCH2_DIR "${CMAKE_SOURCE_DIR}/externos/Catch2")
add_subdirectory(${CATCH2_DIR} ${CMAKE_BINARY_DIR}/catch2-build)

set(UTILES_DIR "${CMAKE_SOURCE_DIR}/externos/utiles.cpp")
target_include_directories(errores-- INTERFACE ${UTILES_DIR}/fuente)


enable_testing()
Expand Down
1 change: 1 addition & 0 deletions externos/utiles.cpp
Submodule utiles.cpp added at 369e56
2 changes: 1 addition & 1 deletion fuente/Opcion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <tuple>
#include <utility>

#include "utiles/Genericos.hpp"
#include <conceptos.hpp>

namespace opc { // Declaración
template<typename T>
Expand Down
2 changes: 1 addition & 1 deletion fuente/Resultado.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <tuple>
#include <utility>

#include "utiles/Genericos.hpp"
#include <conceptos.hpp>
#include "Error.hpp"

namespace res { //Declaración
Expand Down
2 changes: 1 addition & 1 deletion fuente/errores--.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef ERRORES_HPP
#define ERRORES_HPP
#include "utiles/Genericos.hpp"
#include <conceptos.hpp>
#include "Error.hpp"
#include "Opcion.hpp"
#include "Resultado.hpp"
Expand Down
45 changes: 0 additions & 45 deletions fuente/utiles/Genericos.hpp

This file was deleted.

0 comments on commit 2369dbf

Please sign in to comment.