Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Runs examples with C++ platform description
[simgrid.git] / examples / platforms / CMakeLists.txt
diff --git a/examples/platforms/CMakeLists.txt b/examples/platforms/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ab567db
--- /dev/null
@@ -0,0 +1,7 @@
+add_custom_target(platf_cpp COMMENT "C++ platform description")
+add_dependencies(tests platf_cpp)
+foreach (platf small_platform)
+  add_library       (${platf} SHARED ${platf}.cpp)
+  target_link_libraries(${platf} simgrid)
+  add_dependencies(platf_cpp ${platf})
+endforeach()