mirror of
https://github.com/Hizenberg469/Routing-Table-Manager.git
synced 2026-04-19 18:02:23 +03:00
RTM Project
This commit is contained in:
25
DLL/CMakeLists.txt
Normal file
25
DLL/CMakeLists.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
set( DLL_SOURCE
|
||||
"dll.c")
|
||||
|
||||
set( DLL_HEADER
|
||||
"dll.h")
|
||||
|
||||
set( TEST_EXE
|
||||
"main.c")
|
||||
|
||||
add_library( ${DLL_NAME} STATIC
|
||||
${DLL_SOURCE}
|
||||
${DLL_HEADER})
|
||||
|
||||
if( DLL_TESTING )
|
||||
add_executable( testDll
|
||||
${TEST_EXE})
|
||||
|
||||
target_include_directories( testDll PUBLIC
|
||||
"./")
|
||||
endif()
|
||||
|
||||
target_include_directories( ${DLL_NAME} PUBLIC
|
||||
"./" #for files on same path as this CMakeLists.txt file.
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user