Commit a50abd75 authored by Dominik Charousset's avatar Dominik Charousset

categorized examples

parent 36491961
......@@ -177,19 +177,19 @@ cppa/util/wrapped.hpp
cppa/weak_intrusive_ptr.hpp
cppa/weak_ptr_anchor.hpp
cppa/wildcard_position.hpp
examples/announce_example_1.cpp
examples/announce_example_2.cpp
examples/announce_example_3.cpp
examples/announce_example_4.cpp
examples/announce_example_5.cpp
examples/dancing_kirby.cpp
examples/dining_philosophers.cpp
examples/distributed_math_actor_example.cpp
examples/group_chat.cpp
examples/group_server.cpp
examples/hello_world_example.cpp
examples/math_actor_example.cpp
examples/type_plugins.hpp
examples/event_based_api/dining_philosophers.cpp
examples/hello_world.cpp
examples/message_passing/dancing_kirby.cpp
examples/message_passing/math_actor.cpp
examples/remote_actors/distributed_math_actor.cpp
examples/remote_actors/group_chat.cpp
examples/remote_actors/group_server.cpp
examples/remote_actors/type_plugins.hpp
examples/type_system/announce_1.cpp
examples/type_system/announce_2.cpp
examples/type_system/announce_3.cpp
examples/type_system/announce_4.cpp
examples/type_system/announce_5.cpp
src/abstract_tuple.cpp
src/actor.cpp
src/actor_addressing.cpp
......
cmake_minimum_required(VERSION 2.6)
project(cppa_examples CXX)
project(cppas CXX)
add_custom_target(all_examples)
macro(add_example name)
add_executable(${name} ${name}.cpp ${ARGN})
macro(add name folder)
add_executable(${name} ${folder}/${name}.cpp ${ARGN})
target_link_libraries(${name} ${CMAKE_DL_LIBS} ${CPPA_LIBRARY} ${PTHREAD_LIBRARIES})
add_dependencies(${name} all_examples)
endmacro()
add_example(announce_example_1)
add_example(announce_example_2)
add_example(announce_example_3)
add_example(announce_example_4)
add_example(announce_example_5)
add_example(dancing_kirby)
add_example(dining_philosophers)
add_example(hello_world_example)
add_example(math_actor_example)
add_example(distributed_math_actor_example)
add_example(group_server)
add_example(group_chat)
add(announce_1 type_system)
add(announce_2 type_system)
add(announce_3 type_system)
add(announce_4 type_system)
add(announce_5 type_system)
add(dancing_kirby message_passing)
add(dining_philosophers event_based_api)
add(hello_world .)
add(math_actor message_passing)
add(distributed_math_actor remote_actors)
add(group_server remote_actors)
add(group_chat remote_actors)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment