Commit e682d1b5 authored by Julien Wintz's avatar Julien Wintz
Browse files

Removing calls to deprecated cmake functions.

Related to the use of GenerateExportHeaders. In some cases, the
following attributes may need to be set as follows:

set(CMAKE_CXX_VISIBILITY_PRESET hidden)
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
parent d24e0767
......@@ -299,8 +299,6 @@ target_link_libraries(${PROJECT_NAME} dtkMath)
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -456,8 +456,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "${CMAKE_INSTA
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -73,8 +73,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "${CMAKE_INSTA
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -111,8 +111,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${dtk_VERSION}
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -170,8 +170,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "${CMAKE_INSTA
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -119,8 +119,6 @@ target_link_libraries(${PROJECT_NAME} dtkLog)
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -146,8 +146,6 @@ endif(DTK_HAVE_MPI)
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -133,8 +133,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "${CMAKE_INSTA
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -59,8 +59,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${dtk_VERSION}
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -67,8 +67,6 @@ target_link_libraries(${PROJECT_NAME} dtkLog)
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -53,8 +53,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "${CMAKE_INSTA
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -60,8 +60,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${dtk_VERSION}
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -100,8 +100,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "${CMAKE_INSTA
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -90,8 +90,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${dtk_VERSION}
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
### CMakeLists.txt ---
##
### CMakeLists.txt ---
##
## Author: Julien Wintz
## Copyright (C) 2008 - Julien Wintz, Inria.
## Created: Wed Jan 13 13:57:41 2010 (+0100)
......@@ -8,13 +8,13 @@
## By: Julien Wintz
## Update #: 336
######################################################################
##
### Commentary:
##
##
### Commentary:
##
######################################################################
##
##
### Change log:
##
##
######################################################################
project(dtkVrSupport)
......@@ -117,8 +117,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "${CMAKE_INSTA
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......
......@@ -120,8 +120,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${dtk_VERSION}
## Export header file
## #################################################################
add_compiler_export_flags()
generate_export_header(${PROJECT_NAME}
EXPORT_FILE_NAME "${PROJECT_NAME}Export.h")
......@@ -134,7 +132,6 @@ set(${PROJECT_NAME}_HEADERS
"${CMAKE_BINARY_DIR}/${PROJECT_NAME}Export"
"${CMAKE_BINARY_DIR}/${PROJECT_NAME}Export.h")
## ###################################################################
## Install rules - files
## ###################################################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment