mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-05-13 14:37:12 +02:00
Get rid of interface libraries to keep cmake requirements low.
This commit is contained in:
parent
a3312de023
commit
0b8da79404
@ -1,10 +1,5 @@
|
|||||||
# Create the VCMP library
|
# Create the VCMP library
|
||||||
add_library(VCMP INTERFACE)
|
add_library(VCMP STATIC vcmp.h vcmp.c vcmp20.h vcmp21.h)
|
||||||
# Library includes
|
# Library includes
|
||||||
target_include_directories(VCMP INTERFACE ${CMAKE_CURRENT_LIST_DIR})
|
target_include_directories(VCMP PUBLIC ${CMAKE_CURRENT_LIST_DIR})
|
||||||
# Add it's sources
|
|
||||||
target_sources(VCMP INTERFACE
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/vcmp.h
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/vcmp20.h
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/vcmp21.h
|
|
||||||
)
|
|
||||||
|
1
vcmp/vcmp.c
Normal file
1
vcmp/vcmp.c
Normal file
@ -0,0 +1 @@
|
|||||||
|
#include <vcmp.h>
|
Loading…
x
Reference in New Issue
Block a user