diff options
| author | Leitwolf | 2026-10-29 12:18:33 +0300 |
|---|---|---|
| committer | GitHub | 2026-10-29 12:18:33 +0300 |
| commit | 1d48419b7ef642917ebf7dfd16c3bc1b3050d8f1 (patch) | |
| tree | 2e3327fb973f9560b5067d654f3a21ff12a821aa /premake5.lua | |
| parent | d2e3e074bb2e1b8ffd9fc990d0b87667ea602f58 (diff) | |
| parent | 30176b75937e87eafbb4f5557eb0be9697753ddf (diff) | |
| download | catch3-1d48419b7ef642917ebf7dfd16c3bc1b3050d8f1.tar.gz | |
Merge pull request #19 from Progmasoft/feature/yyjson-pugixml
Read and write JSON with yyjson and JUnit XML with pugixml
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua index 9f153d79..311ba685 100644 --- a/premake5.lua +++ b/premake5.lua @@ -6,6 +6,10 @@ local generated_include = path.join(repository_root, "build", "premake", "genera local configure_catch3 = dofile(path.join(repository_root, "buildsupport", "catch3_config.lua")) configure_catch3.generate(generated_include, repository_root) +-- yyjson and pugixml, compiled into the library. +include "third_party/yyjson" +include "third_party/pugixml" + workspace "Catch3" location "build/premake" configurations { "Debug", "Release" } @@ -53,6 +57,9 @@ project "Catch3" } removefiles { "src/Progmasoft/Catch3/Internal/Main.cpp" } includedirs { "src", generated_include } + -- The JSON and XML libraries of the runner are compiled into its own + -- translation units. + externalincludedirs { catch3_third_party.yyjson, catch3_third_party.pugixml } project "Catch3WithMain" kind "StaticLib" |