[Networkit] Compile options; NetworKit as a library

Henning Meyerhenke meyerhenke at kit.edu
Sat Jun 14 11:40:28 CEST 2014

Sehr schön, danke!

H. Meyerhenke, KIT, ITI
Sent from mobile, excuse the brevity.

---- Maximilian Vogel schrieb ----

>Fellow users and developers,
>Compile options
>Minor changes have been made to the compile options in the Dev branch since there have been mix-ups with "O" and "D".
>optimized mode "O" has been renamed to "Opt"debug mode "D" has been renamed to "Dbg"profiling mode "P" has been renamed to "Pro" 
>NetworKit as a Library
>NetworKit can also be used as a library. A section with instructions has been added to the Readme:
>It is also possible to use NetworKit as a library. Therefore, choose the target "Lib" when compiling NetworKit. The include directives in your C++-application look like the following
>#include <NetworKit/graph/Graph.h>
>NetworKit is a symlink to the directory src/cpp, so the directory structure from the repository is valid.
>To compile your application, you need to add the paths for the header files and the location of the library.
>There is a simple source file to demonstrate this. Feel free to compile LibDemo.cpp as follows:
>g++ -o LibDemo -std=c++11 -I/path/to/repository -L/path/to/repository LibDemo.cpp -lNetworKit -fopenmp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20140614/fadf9495/attachment.html>

More information about the NetworKit mailing list