Changeset 874ea81 in tol


Ignore:
Timestamp:
Dec 30, 2015, 10:38:16 AM (11 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
2328789
Parents:
b3f4e24
Message:

refs #1904, #1905, en linux enlazamos libtol.so al proceso principal para resolver, toltcl encontrará sus simbolos en memoria cuando se cargue

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7158 be4846ae-f051-483a-831f-b64e7d08527f

Location:
toltcl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • toltcl/CMakeLists.txt

    rb3f4e24 r874ea81  
    5454
    5555if( TCL_FOUND )
     56  string(REGEX REPLACE
     57    "^.*tclstub([0-9])\\.([0-9]).*$" "\\1;\\2"
     58    TCL_STUB_VERSION "${TCL_STUB_LIBRARY}") 
     59  message( STATUS "TCL_STUB_VERSION = ${TCL_STUB_VERSION}" )
     60  list( GET TCL_STUB_VERSION 0 TCL_MAJOR_VERSION )
     61  list( GET TCL_STUB_VERSION 1 TCL_MINOR_VERSION )
     62  message( STATUS "TCL_STUB_VERSION = ${TCL_MAJOR_VERSION}.${TCL_MINOR_VERSION}" )
    5663  message( STATUS ${TCL_STUB_LIBRARY} )
    5764  message( STATUS ${TCL_INCLUDE_PATH} )
  • toltcl/generic/CMakeLists.txt

    rb3f4e24 r874ea81  
    1616set_target_properties( toltcl PROPERTIES COMPILE_FLAGS "-DBUILD_TOLTCL -DUSE_TCL_STUBS")
    1717
    18 target_link_libraries( toltcl
    19   ${TCL_STUB_LIBRARY} ${TOL_LIBRARY} )
     18if( WIN32 )
     19  target_link_libraries( toltcl
     20    ${TCL_STUB_LIBRARY} ${TOL_LIBRARY} )
     21else( WIN32 )
     22  target_link_libraries( toltcl
     23    ${TCL_STUB_LIBRARY} )
     24endif( WIN32 )
    2025
    2126add_executable( tolsh tolsh.c )
    22 target_link_libraries( tolsh ${TCL_LIBRARY} )
     27if( WIN32 )
     28  target_link_libraries( tolsh ${TCL_LIBRARY} )
     29else( WIN32 )
     30  target_link_libraries( tolsh ${TCL_LIBRARY} ${TOL_LIBRARY} )
     31endif( WIN32 )
    2332
    2433message( STATUS "TOLTCL_DEST_DIR = ${TOLTCL_DEST_DIR}" )
Note: See TracChangeset for help on using the changeset viewer.