mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01: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
|
||||
add_library(VCMP INTERFACE)
|
||||
add_library(VCMP STATIC vcmp.h vcmp.c vcmp20.h vcmp21.h)
|
||||
# Library includes
|
||||
target_include_directories(VCMP INTERFACE ${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
|
||||
)
|
||||
target_include_directories(VCMP PUBLIC ${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
|
1
vcmp/vcmp.c
Normal file
1
vcmp/vcmp.c
Normal file
@ -0,0 +1 @@
|
||||
#include <vcmp.h>
|
Loading…
Reference in New Issue
Block a user