initial commit
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "libs/whisper-com"]
|
||||
path = libs/whisper-com
|
||||
url = https://dev-gitea.ftewa.ti.unibw-hamburg.de/hwinkel/whisper-com.git
|
||||
70
CMakeLists.txt
Normal file
70
CMakeLists.txt
Normal file
@@ -0,0 +1,70 @@
|
||||
cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
|
||||
project (SimCore VERSION 0.1.0 LANGUAGES CXX C)
|
||||
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Modules)
|
||||
include(defaultOptions)
|
||||
|
||||
|
||||
|
||||
|
||||
IF(NOT TARGET whisper-com)
|
||||
add_subdirectory(libs/whisper-com EXCLUDE_FROM_ALL)
|
||||
ENDIF()
|
||||
|
||||
|
||||
|
||||
add_library(SimCore STATIC
|
||||
include/Gateway/Gateway.hpp
|
||||
src/Gateway/Gateway.cpp
|
||||
include/Gateway/PduProcessors/EntityStateProcessor.hpp
|
||||
src/Gateway/PduProcessors/EntityStateProcessor.cpp
|
||||
|
||||
|
||||
|
||||
)
|
||||
|
||||
|
||||
target_link_libraries(Gateway
|
||||
OpenDIS6
|
||||
whisper-com
|
||||
sfml-network
|
||||
loguru
|
||||
)
|
||||
|
||||
target_include_directories(Gateway PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
src)
|
||||
|
||||
|
||||
add_executable(main
|
||||
|
||||
src/main.cpp
|
||||
|
||||
|
||||
)
|
||||
|
||||
|
||||
target_link_libraries(main
|
||||
Gateway
|
||||
CLI11
|
||||
loguru
|
||||
)
|
||||
target_include_directories(main PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
src)
|
||||
|
||||
|
||||
# #
|
||||
# # Everything TEST related
|
||||
# #
|
||||
# option(TEST_WHISPER_COMMUNICATION_LIBRARY "Turn running of application template specific tests off" ON)
|
||||
|
||||
# IF (${TEST_WHISPER_COMMUNICATION_LIBRARY})
|
||||
|
||||
# add_executable(test_test tests/test_test.cpp)
|
||||
# target_link_libraries(test_test Catch2::Catch2 whisper-com loguru)
|
||||
# catch_discover_tests(test_test)
|
||||
|
||||
|
||||
# ENDIF()
|
||||
11
include/SimCore/Entity.hpp
Normal file
11
include/SimCore/Entity.hpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
|
||||
namespace SimCore {
|
||||
|
||||
class Entity {
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
0
include/SimCore/Messages/OwnEntity.hpp
Normal file
0
include/SimCore/Messages/OwnEntity.hpp
Normal file
0
include/SimCore/Messages/Track.hpp
Normal file
0
include/SimCore/Messages/Track.hpp
Normal file
0
src/SimCore/Entity.cpp
Normal file
0
src/SimCore/Entity.cpp
Normal file
0
src/SimCore/Messages/Track.cpp
Normal file
0
src/SimCore/Messages/Track.cpp
Normal file
Reference in New Issue
Block a user