Fingolfin1196 / ImageGraph

1 stars 1 forks source link

add nix build script #4

Closed wucke13 closed 2 years ago

wucke13 commented 4 years ago

Hi, I created a nix expression to build this. This includes the packaging of your modified pcg version. However, on pcg, a small modification was necessary to make it build:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index de2dce4..39064f9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,7 @@ if(BUILD_SAMPLE)
   add_subdirectory(sample)
 endif()
 if(BUILD_TEST)
-  add_subdirectory(test-high)
+  #add_subdirectory(test-high)
 endif()

 include(GNUInstallDirs)

If this change is not made, the build stops with this output:

CMake Error at libs/pcg-cpp/CMakeLists.txt:18 (add_subdirectory):
  The source directory

    /build/ImageGraph/libs/pcg-cpp/test-high

  does not contain a CMakeLists.txt file.
wucke13 commented 4 years ago

@Fingolfin1196 ping, I think this is ready. Do you see any blockers left?