source: tol/vbtol/source/CMakeLists.txt @ e09b3c6

1941-docker-image-to-testdevel
Last change on this file since e09b3c6 was 171e6a0, checked in by Pedro Gea <pgea@…>, 11 years ago

Refs #1910
Se incorporan los CMakeLists.txt
Se modifica el código para incorpora rlas diferencias entre los dos compiladores en Windows.

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

  • Property mode set to 100644
File size: 673 bytes
Line 
1
2add_definitions( -DRTOL_VERSION=\"${RTOL_VERSION_MAJOR}.${RTOL_VERSION_MINOR}\")
3
4include_directories( ${TOL_INCLUDE_DIR} )
5
6message( STATUS "Using TOL_INCLUDE_DIR = ${TOL_INCLUDE_DIR}" )
7
8# if( UNIX )
9#   SET(CMAKE_INSTALL_RPATH "$ORIGIN")
10# endif( UNIX )
11add_library( VBTol SHARED datatype.cpp vbutils.cpp  vbtol.cpp vbtol.def )
12
13set_target_properties( VBTol PROPERTIES PREFIX "")
14
15target_link_libraries( VBTol ${TOL_LIBRARIES} )
16
17# message( STATUS "RTOL_DEST_DIR = ${RTOL_DEST_DIR}" )
18if( WIN32 )
19  install( TARGETS VBTol RUNTIME DESTINATION "bin" )
20else( WIN32 )
21  # install( TARGETS tolRlink RUNTIME LIBRARY DESTINATION "lib" )
22endif( WIN32 )
23
Note: See TracBrowser for help on using the repository browser.