Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
0fb5be43
Commit
0fb5be43
authored
Nov 13, 2012
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed example binary and require CMake 2.8
parent
89e93c71
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
12 deletions
+16
-12
CMakeLists.txt
CMakeLists.txt
+1
-1
cppa.files
cppa.files
+1
-1
examples/CMakeLists.txt
examples/CMakeLists.txt
+8
-5
examples/qtsupport/qt_group_chat.cpp
examples/qtsupport/qt_group_chat.cpp
+5
-4
unit_testing/CMakeLists.txt
unit_testing/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
0fb5be43
cmake_minimum_required
(
VERSION 2.
4
)
cmake_minimum_required
(
VERSION 2.
8
)
project
(
cppa CXX
)
set
(
LIBCPPA_VERSION_MAJOR 0
)
...
...
cppa.files
View file @
0fb5be43
...
...
@@ -281,7 +281,7 @@ src/recursive_queue_node.cpp
cppa/intrusive_fwd_ptr.hpp
cppa/memory_managed.hpp
src/memory_managed.cpp
examples/qtsupport/group_chat.cpp
examples/qtsupport/
qt_
group_chat.cpp
examples/qtsupport/chatwindow.ui
examples/qtsupport/chatwidget.hpp
examples/qtsupport/chatwidget.cpp
...
...
examples/CMakeLists.txt
View file @
0fb5be43
cmake_minimum_required
(
VERSION 2.
6
)
project
(
cppas CXX
)
cmake_minimum_required
(
VERSION 2.
8
)
project
(
cppa
_example
s CXX
)
add_custom_target
(
all_examples
)
...
...
@@ -26,12 +26,15 @@ find_package(Qt4)
if
(
QT4_FOUND
)
include
(
${
QT_USE_FILE
}
)
QT4_ADD_RESOURCES
(
GROUP_CHAT_RCS
)
QT4_WRAP_UI
(
GROUP_CHAT_UI_HDR qtsupport/chatwindow.ui
)
QT4_WRAP_CPP
(
GROUP_CHAT_MOC_SRC qtsupport/chatwidget.hpp
)
include_directories
(
. qtsupport
${
CMAKE_BINARY_DIR
}
/examples
${
CPPA_INCLUDE
}
)
# generated headers will be in cmake build directory
#include_directories(. qtsupport ${CMAKE_CURRENT_BINARY_DIR} ${CPPA_INCLUDE})
include_directories
(
qtsupport
${
CMAKE_CURRENT_BINARY_DIR
}
)
set
(
GROUP_CHAT_SRCS qtsupport/qt_group_chat.cpp qtsupport/chatwidget.cpp
)
add_executable
(
qt_group_chat
qtsupport/group_chat.cpp
qtsupport/chatwidget.cpp
${
GROUP_CHAT_SRCS
}
${
GROUP_CHAT_MOC_SRC
}
${
GROUP_CHAT_UI_HDR
}
)
target_link_libraries
(
qt_group_chat
...
...
examples/qtsupport/group_chat.cpp
→
examples/qtsupport/
qt_
group_chat.cpp
View file @
0fb5be43
/******************************************************************************\
* This example program represents a minimal terminal chat program *
* based on group communication. *
* This example program represents a minimal GUI chat program *
* based on group communication. This chat program is compatible to the *
* terminal version in remote_actors/group_chat.cpp. *
* *
* Setup for a minimal chat between "alice" and "bob": *
* - ./build/bin/group_server -p 4242 *
* - ./build/bin/
group_chat -g remote:chatroom@localhost:4242 -n alice
*
* - ./build/bin/
group_chat -g remote:chatroom@localhost:4242 -n bob
*
* - ./build/bin/
qt_group_chat -g remote:chatroom@localhost:4242 -n alice
*
* - ./build/bin/
qt_group_chat -g remote:chatroom@localhost:4242 -n bob
*
\******************************************************************************/
#include <set>
...
...
unit_testing/CMakeLists.txt
View file @
0fb5be43
cmake_minimum_required
(
VERSION 2.
6
)
cmake_minimum_required
(
VERSION 2.
8
)
project
(
cppa_unit_tests CXX
)
add_custom_target
(
all_unit_tests
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment