13 lines
446 B
CMake
13 lines
446 B
CMake
|
INCLUDE_DIRECTORIES(${CHAMS_SOURCE_DIR}/openChams ${LIBXML2_INCLUDE_DIR})
|
||
|
|
||
|
SET ( includes Circuit.h Netlist.h Instance.h Net.h Name.h Parameters.h )
|
||
|
SET ( cpps Circuit.cpp Netlist.cpp Instance.cpp Net.cpp Name.cpp Parameters.cpp )
|
||
|
|
||
|
ADD_LIBRARY(openChams SHARED ${cpps})
|
||
|
|
||
|
TARGET_LINK_LIBRARIES(openChams ${LIBXML2_LIBRARIES})
|
||
|
|
||
|
INSTALL(TARGETS openChams DESTINATION /lib)
|
||
|
|
||
|
INSTALL(FILES ${includes} DESTINATION /include/io/openChams)
|