1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Get rid of interface libraries to keep cmake requirements low.

This commit is contained in:
Sandu Liviu Catalin 2020-03-22 18:32:25 +02:00
parent a3312de023
commit 0b8da79404
2 changed files with 4 additions and 8 deletions

View File

@ -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
View File

@ -0,0 +1 @@
#include <vcmp.h>