diff LinuxCompilation.txt @ 4091:19a2f1d2b816 framework

moved CMakeLists.txt for the server to the OrthancServer folder
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Jun 2020 07:30:50 +0200
parents c23ef85c7d9c
children d633e5bb7ba3
line wrap: on
line diff
--- a/LinuxCompilation.txt	Mon Jun 29 19:33:22 2020 +0200
+++ b/LinuxCompilation.txt	Tue Jun 30 07:30:50 2020 +0200
@@ -19,18 +19,18 @@
 
 We now make the assumption that Orthanc source code is placed in the
 folder "~/Orthanc" and that the binaries will be compiled to
-"~/OrthancBuild". To build binaries with debug information:
+"~/Orthanc/Build". To build binaries with debug information:
 
-# cd ~/OrthancBuild
-# cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Debug ~/Orthanc
+# cd ./Build
+# cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Debug ../OrthancServer/
 # make
 # make doc
 
 
 To build a release version:
 
-# cd ~/OrthancBuild
-# cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release ~/Orthanc
+# cd ./Build
+# cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release ../OrthancServer/
 # make
 # make doc
 
@@ -41,7 +41,7 @@
 
 Note 2- If the development package of libuuid was not installed when
 first invoking cmake, you will have to manually remove the build
-directory ("rm -rf ~/OrthancBuild") after installing this package,
+directory ("rm -rf ~/Orthanc/Build") after installing this package,
 then run cmake again.
 
 Note 3- To build the documentation, you will have to install doxygen.
@@ -56,8 +56,8 @@
 when building packages for GNU/Linux distributions. Because using
 system libraries is the default behavior, you just have to use:
 
-# cd ~/OrthancBuild
-# cmake -DCMAKE_BUILD_TYPE=Debug ~/Orthanc
+# cd ./Build
+# cmake -DCMAKE_BUILD_TYPE=Debug ../OrthancServer
 # make
 
 Note that to build the documentation, you will have to install doxygen.
@@ -89,7 +89,8 @@
         -DUSE_GOOGLE_TEST_DEBIAN_PACKAGE=ON \
         -DDCMTK_LIBRARIES=dcmjpls \
         -DCMAKE_BUILD_TYPE=Release \
-	~/Orthanc
+	../OrthancServer/
+# make
 
 Note: Have also a look at the official package:
 http://anonscm.debian.org/viewvc/debian-med/trunk/packages/orthanc/trunk/debian/
@@ -111,7 +112,7 @@
         -DUSE_SYSTEM_LUA=OFF \
         -DDCMTK_LIBRARIES=dcmjpls \
         -DCMAKE_BUILD_TYPE=Release \
-        ~/Orthanc
+        ../OrthancServer/
 # make
 
 
@@ -129,7 +130,7 @@
         -DUSE_SYSTEM_CIVETWEB=OFF \
         -DDCMTK_LIBRARIES=dcmjpls \
         -DCMAKE_BUILD_TYPE=Release \
-        ~/Orthanc
+        ../OrthancServer/
 # make
 
 
@@ -142,7 +143,7 @@
         -DUSE_SYSTEM_CIVETWEB=OFF \
         -DDCMTK_LIBRARIES=dcmjpls \
         -DCMAKE_BUILD_TYPE=Release \
-        ~/Orthanc
+        ../OrthancServer/
 # ninja
 
 
@@ -160,7 +161,7 @@
         -DUSE_SYSTEM_CIVETWEB=OFF \
         -DDCMTK_LIBRARIES=dcmjpls \
         -DCMAKE_BUILD_TYPE=Release \
-        ~/Orthanc
+        ../OrthancServer/
 # make
 
 
@@ -187,7 +188,8 @@
          -DENABLE_CIVETWEB=OFF \
          -DSYSTEM_MONGOOSE_USE_CALLBACKS=OFF \
          -DCMAKE_BUILD_TYPE=Release \
-         ~/Orthanc
+         ../OrthancServer/
+# make
        
 Note: Have also a look at the official package:
 http://pkgs.fedoraproject.org/cgit/orthanc.git/tree/?h=f18
@@ -204,7 +206,8 @@
         -DUSE_SYSTEM_CIVETWEB=OFF \
         -DDCMTK_LIBRARIES="dcmdsig;charls;dcmjpls" \
         -DCMAKE_BUILD_TYPE=Release \
-	~/Orthanc
+	../OrthancServer/
+# make
 
 
 
@@ -247,4 +250,4 @@
 Orthanc. This is especially useful for developers. To this end, you
 would use:
 
-# CC="ccache gcc" CXX="ccache g++" cmake ~/Orthanc [Other Options]
+# CC="ccache gcc" CXX="ccache g++" cmake ../OrthancServer/ [Other Options]