set(process-suspend_files Main DreamMaster LazyGuy)
set(task-priority_files Main Test)
+if(enable_java)
+ add_custom_target(java-all
+ COMMENT "Building all Java examples..."
+ )
+endif()
foreach (example app-bittorrent app-centralizedmutex app-masterworker app-pingpong app-tokenring async-yield async-waitall async-dsend
cloud-migration cloud-masterworker dht-chord dht-kademlia energy-consumption energy-pstate energy-vm io-file io-storage
COMMAND ${CMAKE_COMMAND} -E touch ${example_dir}/java-${example}_compiled
)
add_custom_target(java-${example} ALL DEPENDS ${example_dir}/java-${example}_compiled)
+ add_dependencies(java-all java-${example})
endif()
set(examples_src ${examples_src} ${${example}_sources})
set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/${example_dir}/${example}.tesh)