Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add some test to cmake and correct bug in tesh file from commit 2010-02-04 21:47:02
[simgrid.git] / buildtools / CPACK / simgrid_CMakeList / teshsuite / gras / small_sleep / CMakeLists.txt
diff --git a/buildtools/CPACK/simgrid_CMakeList/teshsuite/gras/small_sleep/CMakeLists.txt b/buildtools/CPACK/simgrid_CMakeList/teshsuite/gras/small_sleep/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6052df3
--- /dev/null
@@ -0,0 +1,11 @@
+cmake_minimum_required(VERSION 2.6)
+
+set(EXECUTABLE_OUTPUT_PATH "./")
+set(LIBRARY_OUTPUT_PATH "${PROJECT_DIRECTORY}/lib")
+
+add_executable(small_sleep_function    small_sleep.c _small_sleep_function.c)
+add_executable(small_sleep_simulator   small_sleep.c _small_sleep_simulator.c)
+
+### Add definitions for compile
+target_link_libraries(small_sleep_simulator simgrid m pthread -fprofile-arcs)
+target_link_libraries(small_sleep_function gras m pthread -fprofile-arcs)