Skip to content

Commit

Permalink
cmake support
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Sep 10, 2023
1 parent 1040d68 commit 93b5023
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ coverage/*
*.tlog
**/*.o.dSYM/*
**/Debug/*
**/Release/*
**/Release/*
build/
17 changes: 17 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
cmake_minimum_required(VERSION 3.16)

# set the project name
project(tsdemux)

# lots of warnings and all warnings as errors
## add_compile_options(-Wall -Wextra )
set(CMAKE_CXX_STANDARD 17)

file(GLOB_RECURSE SRC_LIST_C CONFIGURE_DEPENDS "${PROJECT_SOURCE_DIR}/src/*.c" )

# define libraries
add_library (tsdemux ${SRC_LIST_C})

# define location for header files
target_include_directories(tsdemux PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src )

0 comments on commit 93b5023

Please sign in to comment.