mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 02:34:00 +00:00
[build] make "common" a static library (part 1/2)
This commit is contained in:
20
common/CMakeLists.txt
Normal file
20
common/CMakeLists.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
project(lg_common LANGUAGES C)
|
||||
|
||||
include_directories(
|
||||
${PROJECT_SOURCE_DIR}/include
|
||||
)
|
||||
|
||||
add_library(lg_common STATIC
|
||||
src/debug.c
|
||||
)
|
||||
|
||||
#target_link_libraries(lg_common
|
||||
#)
|
||||
|
||||
target_include_directories(lg_common
|
||||
INTERFACE
|
||||
include
|
||||
PRIVATE
|
||||
src
|
||||
)
|
0
common/src/debug.c
Normal file
0
common/src/debug.c
Normal file
Reference in New Issue
Block a user