first commit
This commit is contained in:
commit
b2692a43f3
7 changed files with 152 additions and 0 deletions
19
CMakeLists.txt
Normal file
19
CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
cmake_minimum_required(VERSION 3.10)
|
||||
project(jay
|
||||
VERSION 0.0.1
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# Find gloox library
|
||||
find_package(PkgConfig)
|
||||
pkg_search_module(GLOOX REQUIRED gloox)
|
||||
|
||||
add_executable(jay main.cpp jay.cpp logger.cpp)
|
||||
|
||||
target_include_directories(jay PRIVATE ${GLOOX_INCLUDE_DIRS})
|
||||
target_link_libraries(jay ${GLOOX_LIBRARIES})
|
||||
|
||||
install(TARGETS jay RUNTIME DESTINATION bin)
|
Loading…
Add table
Add a link
Reference in a new issue