Data generation target 'net-gen' added
authorAlpar Juttner <alpar@cs.elte.hu>
Sun, 11 Dec 2011 06:53:16 +0100
changeset 83c30bd0f9ccc
parent 7 79d9c9f6c446
child 9 7768d68909e8
Data generation target 'net-gen' added
CMakeLists.txt
data/CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Thu Mar 17 18:28:37 2011 +0100
     1.2 +++ b/CMakeLists.txt	Sun Dec 11 06:53:16 2011 +0100
     1.3 @@ -85,6 +85,7 @@
     1.4  ADD_SUBDIRECTORY(doc)
     1.5  
     1.6  ADD_SUBDIRECTORY(generators/netgen)
     1.7 +ADD_SUBDIRECTORY(data)
     1.8  
     1.9  #######################################################################
    1.10  ## CPACK configuration
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/data/CMakeLists.txt	Sun Dec 11 06:53:16 2011 +0100
     2.3 @@ -0,0 +1,5 @@
     2.4 +ADD_CUSTOM_TARGET(net-data
     2.5 +  COMMAND ${CMAKE_BINARY_DIR}/generators/netgen/netgen -nodes 32768 -density 262892 -sources 8192 -sinks 8192 -supply 67108864 -mincost 0 -maxcost 4096 -mincap 1 -maxcap 16 -hicost 100 >net.net
     2.6 +  )
     2.7 +
     2.8 +ADD_DEPENDENCIES(net-data netgen)
     2.9 \ No newline at end of file