Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
First step to delete GLOB command from cmake
[simgrid.git] / examples / msg / io / CMakeLists.txt
index 9a9d754..9ee39ae 100644 (file)
@@ -6,8 +6,30 @@ add_executable(file file.c)
 
 ### Add definitions for compile
 if(NOT WIN32)
-target_link_libraries(file simgrid m pthread )
+  target_link_libraries(file simgrid m pthread)
 else(NOT WIN32)
-target_link_libraries(file simgrid)
+  target_link_libraries(file simgrid)
 endif(NOT WIN32)
 
+set(tesh_files
+  ${tesh_files}
+  ${CMAKE_CURRENT_SOURCE_DIR}/io.tesh
+  PARENT_SCOPE
+)
+set(xml_files
+  ${xml_files}
+  PARENT_SCOPE
+)
+set(examples_src
+  ${examples_src}
+  ${CMAKE_CURRENT_SOURCE_DIR}/file.c
+  PARENT_SCOPE
+)
+set(bin_files
+  ${bin_files}
+  PARENT_SCOPE
+)
+set(txt_files
+  ${txt_files}
+  PARENT_SCOPE
+)