* All tools:
- Bug: target_link_libraries() must be put back for OSX Snow Leopard (doesn't seems to affect Leopard). As I do not have an OSX under my hand it's untested and is likely to fail at that point.
This commit is contained in:
parent
51cb105f4c
commit
24428fadb1
|
@ -79,6 +79,13 @@ FIND_PACKAGE(KITE REQUIRED)
|
|||
#FIND_PACKAGE(SOLSTICE REQUIRED)
|
||||
|
||||
SET_LIB_LINK_MODE()
|
||||
FIND_PACKAGE(Boost 1.33.1 COMPONENTS filesystem program_options REQUIRED)
|
||||
SET(Boost_USE_STATIC_LIBS ON)
|
||||
MESSAGE(STATUS "Always uses Boost static libraries.")
|
||||
FIND_PACKAGE(Boost 1.35.0 COMPONENTS program_options filesystem system regex python)
|
||||
IF(NOT Boost_FOUND)
|
||||
FIND_PACKAGE(Boost 1.33.1 COMPONENTS program_options filesystem python regex REQUIRED)
|
||||
ENDIF(NOT Boost_FOUND)
|
||||
MESSAGE(STATUS "Found Boost libraries ${Boost_LIB_VERSION} in ${Boost_INCLUDE_DIR}")
|
||||
MESSAGE(STATUS " ${Boost_LIBRARIES}")
|
||||
|
||||
ADD_SUBDIRECTORY(src)
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
${HMETIS_LIBRARIES}
|
||||
${NIMBUS_GRAPHICAL_LIBRARIES}
|
||||
${NIMBUS_LIBRARIES}
|
||||
${CORIOLIS_PYTHON_LIBRARIES}
|
||||
${CORIOLIS_LIBRARIES}
|
||||
${HURRICANE_PYTHON_LIBRARIES}
|
||||
${HURRICANE_GRAPHICAL_LIBRARIES}
|
||||
|
@ -50,33 +51,13 @@
|
|||
${LEFDEF_LIBRARIES}
|
||||
${OA_LIBRARIES}
|
||||
${QT_LIBRARIES}
|
||||
${Boost_LIBRARIES}
|
||||
${PYTHON_LIBRARIES}
|
||||
-lutil
|
||||
${LIBXML2_LIBRARIES}
|
||||
)
|
||||
add_executable ( cgt ${cgtcpp} )
|
||||
target_link_libraries ( cgt unicorn
|
||||
${SOLSTICE_GRAPHICAL_LIBRARIES}
|
||||
${SOLSTICE_LIBRARIES}
|
||||
${EQUINOX_GRAPHICAL_LIBRARIES}
|
||||
${EQUINOX_LIBRARIES}
|
||||
${KITE_GRAPHICAL_LIBRARIES}
|
||||
${KITE_LIBRARIES}
|
||||
${KATABATIC_GRAPHICAL_LIBRARIES}
|
||||
${KATABATIC_LIBRARIES}
|
||||
${KNIK_GRAPHICAL_LIBRARIES}
|
||||
${KNIK_LIBRARIES}
|
||||
${CORIOLIS_LIBRARIES}
|
||||
${HURRICANE_PYTHON_LIBRARIES}
|
||||
${HURRICANE_LIBRARIES}
|
||||
${HURRICANE_GRAPHICAL_LIBRARIES}
|
||||
${CONFIGURATION_LIBRARY}
|
||||
${OA_LIBRARIES}
|
||||
${QT_LIBRARIES}
|
||||
${Boost_LIBRARIES}
|
||||
${PYTHON_LIBRARIES}
|
||||
-lutil
|
||||
)
|
||||
target_link_libraries ( cgt unicorn )
|
||||
install ( TARGETS unicorn DESTINATION lib${LIB_SUFFIX} )
|
||||
install ( TARGETS cgt DESTINATION bin )
|
||||
install ( FILES ${includes}
|
||||
|
|
|
@ -340,16 +340,17 @@ int main ( int argc, char *argv[] )
|
|||
|
||||
// Python Script test.
|
||||
|
||||
Isobar::Script::addPath ( "/dsk/l1/jpc/coriolis-2.x/work/benchs/routing/addaccu" );
|
||||
//Isobar::Script::addPath ( "/dsk/l1/jpc/coriolis-2.x/work/benchs/routing/addaccu" );
|
||||
|
||||
for ( int i=0 ; i<5 ; ++i ) {
|
||||
cerr << "Call:" << i << " ======================================" << endl;
|
||||
// for ( int i=0 ; i<25 ; ++i ) {
|
||||
// cerr << "Call:" << i << "/25 ======================================" << endl;
|
||||
|
||||
Isobar::Script* script = Isobar::Script::create ( "getCellName" );
|
||||
script->runFunction ( "runScript", cell );
|
||||
}
|
||||
// Isobar::Script* script = Isobar::Script::create ( "getCellName" );
|
||||
// script->runFunction ( "__hurricane_main__", cell );
|
||||
// }
|
||||
// cerr << "DONE" << endl;
|
||||
|
||||
Box box ( DbU::lambda(0.0), DbU::lambda(0.0), DbU::lambda(5.0), DbU::lambda(10.0) );
|
||||
// Box box ( DbU::lambda(0.0), DbU::lambda(0.0), DbU::lambda(5.0), DbU::lambda(10.0) );
|
||||
|
||||
// throw Error ("Tu le vois bien: <b>%s</b><br>"
|
||||
// "Un retour a la ligne\n<i>Une ligne</i>"
|
||||
|
|
Loading…
Reference in New Issue