No more SHARED option in ADD_LIBRARY, so we will be able to build static libraries.
This commit is contained in:
parent
91363d5cc7
commit
4d27f3075b
|
@ -3,7 +3,7 @@ INCLUDE_DIRECTORIES(${CHAMS_SOURCE_DIR}/agds)
|
|||
SET ( includes GdsLibrary.h GdsStructure.h GdsElement.h GdsRectangle.h )
|
||||
SET ( cpps GdsLibrary.cpp GdsStructure.cpp GdsRectangle.cpp )
|
||||
|
||||
ADD_LIBRARY(agds SHARED ${cpps})
|
||||
ADD_LIBRARY(agds ${cpps})
|
||||
INSTALL(TARGETS agds DESTINATION /lib)
|
||||
|
||||
INSTALL(FILES ${includes} DESTINATION /include/io/agds)
|
||||
|
|
|
@ -3,7 +3,7 @@ INCLUDE_DIRECTORIES(${CHAMS_SOURCE_DIR}/openChams ${LIBXML2_INCLUDE_DIR})
|
|||
SET ( includes Circuit.h Netlist.h Instance.h Net.h Name.h Parameters.h Schematic.h OpenChamsException.h )
|
||||
SET ( cpps Circuit.cpp Netlist.cpp Instance.cpp Net.cpp Name.cpp Parameters.cpp Schematic.cpp )
|
||||
|
||||
ADD_LIBRARY(openChams SHARED ${cpps})
|
||||
ADD_LIBRARY(openChams ${cpps})
|
||||
|
||||
TARGET_LINK_LIBRARIES(openChams ${LIBXML2_LIBRARIES})
|
||||
|
||||
|
|
Loading…
Reference in New Issue