projects
/
unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmake is working for cluster_unres
[unres.git]
/
source
/
cluster
/
unres
/
src
/
CMakeLists.txt
diff --git
a/source/cluster/unres/src/CMakeLists.txt
b/source/cluster/unres/src/CMakeLists.txt
index
389c3d1
..
b8ea2c2
100644
(file)
--- a/
source/cluster/unres/src/CMakeLists.txt
+++ b/
source/cluster/unres/src/CMakeLists.txt
@@
-18,7
+18,7
@@
set(UNRES_CLUSTER_UNRES_SRC0
hc.f
initialize.f
intcor.f
hc.f
initialize.f
intcor.f
- main_clust.f
+ main_clust.F
matmult.f
misc.f
noyes.f
matmult.f
misc.f
noyes.f
@@
-30,6
+30,7
@@
set(UNRES_CLUSTER_UNRES_SRC0
timing.F
track.F
wrtclust.f
timing.F
track.F
wrtclust.f
+ cxread.F
)
set(UNRES_CLUSTER_PP_SRC
)
set(UNRES_CLUSTER_PP_SRC
@@
-56,8
+57,9
@@
set_property(SOURCE ${UNRES_CLUSTER_SRC0} PROPERTY COMPILE_FLAGS ${FFLAGS0} )
#=========================================
# System specific flags
#=========================================
#=========================================
# System specific flags
#=========================================
+set(CPPFLAGS "NEWUNRES")
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
- set(CPPFLAGS "${CPPFLAGS} LINUX")
+ set(CPPFLAGS "${CPPFLAGS} -DLINUX")
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
@@
-85,6
+87,12
@@
add_executable(UNRES_CLUSTER_BIN ${UNRES_CLUSTER_SRCS} )
set_target_properties(UNRES_CLUSTER_BIN PROPERTIES OUTPUT_NAME ${UNRES_CLUSTER_BIN})
set_property(TARGET UNRES_CLUSTER_BIN PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
set_target_properties(UNRES_CLUSTER_BIN PROPERTIES OUTPUT_NAME ${UNRES_CLUSTER_BIN})
set_property(TARGET UNRES_CLUSTER_BIN PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
+#=========================================
+# Link libraries
+#=========================================
+# link libxdrf.a
+target_link_libraries( UNRES_CLUSTER_BIN xdrf )
+
#=========================================
# Install Path
#=========================================
# Install Path