Skip to content

Commit

Permalink
Add Structure module (json, csv) (#386)
Browse files Browse the repository at this point in the history
* add structure module and JsonHelper

* fix structure.cpp

* fix typos and update moduleFunctions map

* Remove stray submodule faker-cxx
  • Loading branch information
alisedighmoghadam authored Dec 26, 2023
1 parent d59e813 commit 0ba0d4b
Show file tree
Hide file tree
Showing 8 changed files with 937 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
[submodule "externals/fmt"]
path = externals/fmt
url = https://github.com/fmtlib/fmt.git

8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ set(FAKER_SOURCES
src/modules/crypto/Crypto.cpp
src/modules/computer/Computer.cpp
src/modules/vehicle/Vehicle.cpp
src/modules/science/Science.cpp)
src/modules/science/Science.cpp
src/modules/structure/Structure.cpp
src/common/JsonHelper.cpp)

set(FAKER_UT_SOURCES
src/modules/animal/AnimalTest.cpp
Expand Down Expand Up @@ -100,7 +102,9 @@ set(FAKER_UT_SOURCES
src/modules/crypto/CryptoTest.cpp
src/modules/computer/ComputerTest.cpp
src/modules/vehicle/VehicleTest.cpp
src/modules/science/ScienceTest.cpp)
src/modules/science/ScienceTest.cpp
src/modules/structure/StructureTest.cpp
src/common/JsonHelperTest.cpp)

add_library(${LIBRARY_NAME} ${FAKER_SOURCES})

Expand Down
Loading

0 comments on commit 0ba0d4b

Please sign in to comment.