diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2015-02-21 11:51:12 +0100 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2015-02-21 11:51:12 +0100 |
commit | cf4045ff0f7c96614e64b2b336e62a240f443ea6 (patch) | |
tree | 7229e1a72487b22d55aba067b15619490d730d58 /src/network | |
parent | 81930b17297bbb3c5f938d202c68903b18c83734 (diff) | |
download | minetest-cf4045ff0f7c96614e64b2b336e62a240f443ea6.tar.gz minetest-cf4045ff0f7c96614e64b2b336e62a240f443ea6.tar.bz2 minetest-cf4045ff0f7c96614e64b2b336e62a240f443ea6.zip |
Use proper CMakeLists.txt for network and client directories
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/network/CMakeLists.txt b/src/network/CMakeLists.txt new file mode 100644 index 000000000..3162469c8 --- /dev/null +++ b/src/network/CMakeLists.txt @@ -0,0 +1,15 @@ +set(common_network_SRCS + ${CMAKE_CURRENT_SOURCE_DIR}/connection.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/networkpacket.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/packethandlers/server.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/serveropcodes.cpp + PARENT_SCOPE +) + +if (BUILD_CLIENT) + set(client_network_SRCS + ${CMAKE_CURRENT_SOURCE_DIR}/clientopcodes.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/packethandlers/client.cpp + PARENT_SCOPE + ) +endif(BUILD_CLIENT)
\ No newline at end of file |