mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-07 16:37:56 +08:00
[svn-r27441] misc. code clean-up
This commit is contained in:
parent
e3ac5f3651
commit
c6ccc94574
@ -62,14 +62,6 @@ set_target_properties (H5_buildiface PROPERTIES
|
||||
Fortran_MODULE_DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}
|
||||
)
|
||||
|
||||
#set (CMD $<TARGET_FILE:H5_buildiface>)
|
||||
#add_custom_command (
|
||||
# OUTPUT ${HDF5_F90_BINARY_DIR}/H5_gen.F90
|
||||
# COMMAND ${CMD}
|
||||
# WORKING_DIRECTORY ${HDF5_F90_BINARY_DIR}
|
||||
# DEPENDS H5_buildiface
|
||||
#)
|
||||
|
||||
INCLUDE_DIRECTORIES (${HDF5_F90_BINARY_DIR} ${CMAKE_Fortran_MODULE_DIRECTORY})
|
||||
#-----------------------------------------------------------------------------
|
||||
add_executable (H5match_types
|
||||
@ -172,16 +164,6 @@ add_custom_target (H5gen ALL
|
||||
|
||||
set_source_files_properties (${f90_F_SRCS} PROPERTIES LANGUAGE Fortran)
|
||||
|
||||
# Not implemented in cmake VS >=10
|
||||
#set_source_files_properties (${HDF5_F90_BINARY_DIR}/H5_gen.F90
|
||||
# PROPERTIES OBJECT_DEPENDS "${f90_F_BASE_SRCS}"
|
||||
#)
|
||||
|
||||
set_source_files_properties(
|
||||
${HDF5_F90_BINARY_DIR}/HDF5.F90
|
||||
PROPERTIES OBJECT_DEPENDS "${f90_F_BASE_SRCS} ${HDF5_F90_BINARY_DIR}/H5_gen.F90"
|
||||
)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Add Main fortran library
|
||||
#-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user