2010-01-19 03:50:19 -06:00
|
|
|
INCLUDE_DIRECTORIES(${CHAMS_SOURCE_DIR}/openChams ${LIBXML2_INCLUDE_DIR})
|
|
|
|
|
2010-02-09 06:16:04 -06:00
|
|
|
SET ( includes Circuit.h Netlist.h Instance.h Net.h Name.h Operator.h Parameters.h Schematic.h Sizing.h OpenChamsException.h )
|
|
|
|
SET ( cpps Circuit.cpp Netlist.cpp Instance.cpp Net.cpp Name.cpp Operator.cpp Parameters.cpp Schematic.cpp Sizing.cpp )
|
2010-01-19 03:50:19 -06:00
|
|
|
|
2010-02-02 03:58:17 -06:00
|
|
|
ADD_LIBRARY(openChams ${cpps})
|
2010-01-19 03:50:19 -06:00
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(openChams ${LIBXML2_LIBRARIES})
|
|
|
|
|
|
|
|
INSTALL(TARGETS openChams DESTINATION /lib)
|
|
|
|
|
|
|
|
INSTALL(FILES ${includes} DESTINATION /include/io/openChams)
|