40 lines
1.4 KiB
CMake
40 lines
1.4 KiB
CMake
# -*- explicit-buffer-name: "CMakeLists.txt<coloquinte/src>" -*-
|
|
|
|
include_directories( ${COLOQUINTE_SOURCE_DIR}/src
|
|
)
|
|
|
|
set ( includes coloquinte/circuit.hxx
|
|
coloquinte/circuit_helper.hxx
|
|
coloquinte/common.hxx
|
|
coloquinte/netlist.hxx
|
|
coloquinte/solvers.hxx
|
|
coloquinte/rough_legalizers.hxx
|
|
coloquinte/legalizer.hxx
|
|
coloquinte/detailed.hxx
|
|
coloquinte/topologies.hxx
|
|
coloquinte/optimization_subproblems.hxx
|
|
coloquinte/piecewise_linear.hxx
|
|
)
|
|
set ( cpps circuit.cxx
|
|
checkers.cxx
|
|
rough_legalizers.cxx
|
|
solvers.cxx
|
|
optimization_subproblems.cxx
|
|
piecewise_linear.cxx
|
|
orientation.cxx
|
|
detailed.cxx
|
|
cell_swapping.cxx
|
|
#MCF_opt.cxx
|
|
row_opt.cxx
|
|
topologies.cxx
|
|
lookup_table.cxx
|
|
legalizer.cxx
|
|
)
|
|
|
|
add_library ( coloquinte ${cpps} )
|
|
set_target_properties( coloquinte PROPERTIES VERSION 1.0 SOVERSION 1 )
|
|
|
|
install( TARGETS coloquinte DESTINATION lib${LIB_SUFFIX} )
|
|
install( FILES ${includes} DESTINATION include/coriolis2/coloquinte )
|
|
|