Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
moving graphicator from teshsuite to tools/graphicator/
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 14 Dec 2010 14:22:51 +0000 (14:22 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 14 Dec 2010 14:22:51 +0000 (14:22 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9236 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/Distrib.cmake
buildtools/Cmake/MakeExeLib.cmake
teshsuite/simdag/platforms/CMakeLists.txt
tools/graphicator/CMakeLists.txt [new file with mode: 0644]
tools/graphicator/graphicator.c [moved from teshsuite/simdag/platforms/graphicator.c with 100% similarity]

index 737aaa4..0a4e8d4 100644 (file)
@@ -24,6 +24,8 @@ install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/smpicc
 install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/tesh
 DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/)
 
 install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/tesh
 DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/)
 
+install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/graphicator
+DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/)
        
 install(PROGRAMS ${CMAKE_HOME_DIRECTORY}/tools/MSG_visualization/colorize.pl
         DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/
        
 install(PROGRAMS ${CMAKE_HOME_DIRECTORY}/tools/MSG_visualization/colorize.pl
         DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/
index 1d920f6..fb130d2 100644 (file)
@@ -175,6 +175,8 @@ else(WIN32)
        add_subdirectory(${CMAKE_HOME_DIRECTORY}/tools/tesh)
 endif(WIN32)
 
        add_subdirectory(${CMAKE_HOME_DIRECTORY}/tools/tesh)
 endif(WIN32)
 
+add_subdirectory(${CMAKE_HOME_DIRECTORY}/tools/graphicator/)
+
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/testsuite/xbt)
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/testsuite/surf)
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/xbt)
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/testsuite/xbt)
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/testsuite/surf)
 add_subdirectory(${CMAKE_HOME_DIRECTORY}/teshsuite/xbt)
index 8b07150..4e960d0 100644 (file)
@@ -5,18 +5,15 @@ set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
 add_executable(basic_parsing_test basic_parsing_test.c)
 add_executable(is_router_test is_router_test.c)
 add_executable(flatifier flatifier.c)
 add_executable(basic_parsing_test basic_parsing_test.c)
 add_executable(is_router_test is_router_test.c)
 add_executable(flatifier flatifier.c)
-add_executable(graphicator graphicator.c)
 
 ### Add definitions for compile
 if(NOT WIN32)
 target_link_libraries(basic_parsing_test simgrid m pthread )
 target_link_libraries(is_router_test simgrid m pthread )
 target_link_libraries(flatifier simgrid m pthread )
 
 ### Add definitions for compile
 if(NOT WIN32)
 target_link_libraries(basic_parsing_test simgrid m pthread )
 target_link_libraries(is_router_test simgrid m pthread )
 target_link_libraries(flatifier simgrid m pthread )
-target_link_libraries(graphicator simgrid m pthread )
 else(NOT WIN32)
 target_link_libraries(basic_parsing_test simgrid)
 target_link_libraries(is_router_test simgrid)
 target_link_libraries(flatifier simgrid)
 else(NOT WIN32)
 target_link_libraries(basic_parsing_test simgrid)
 target_link_libraries(is_router_test simgrid)
 target_link_libraries(flatifier simgrid)
-target_link_libraries(graphicator simgrid )
 endif(NOT WIN32)
 
 endif(NOT WIN32)
 
diff --git a/tools/graphicator/CMakeLists.txt b/tools/graphicator/CMakeLists.txt
new file mode 100644 (file)
index 0000000..19ca440
--- /dev/null
@@ -0,0 +1,13 @@
+cmake_minimum_required(VERSION 2.6)
+
+set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin")
+
+add_executable(graphicator graphicator.c)
+
+### Add definitions for compile
+if(NOT WIN32)
+target_link_libraries(graphicator simgrid m pthread )
+else(NOT WIN32)
+target_link_libraries(graphicator simgrid )
+endif(NOT WIN32)
+