Skip to content

Commit

Permalink
Merge pull request #62 from kousuke-nakano/devel-#61
Browse files Browse the repository at this point in the history
Added convertpfaff.x to CMakeList.txt
  • Loading branch information
kousuke-nakano authored Jun 30, 2023
2 parents dd2bbb4 + e10d111 commit dfbc9d9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -515,13 +515,13 @@ if(EXT_TOOLS)

# serial tools
add_target_exe_serial_wrapper( makefort10 )
add_target_exe_serial_wrapper( convertpfaff )
add_target_exe_serial_wrapper( readforward-serial )
add_target_exe_serial_wrapper( convertfort10-serial )
add_target_exe_serial_wrapper( convertfort10mol-serial )

if(EXT_GPU)
# Non-gpu version is important only for testad

add_target_lib_serial_wrapper(common-nogpu-serial)
add_target_lib_serial_wrapper(complex-nogpu-serial)
add_target_lib_serial_wrapper(qlapack-nogpu-serial)
Expand Down Expand Up @@ -690,6 +690,7 @@ add_subdirectory(src/a_tools)
add_subdirectory(src/a_readforward)
add_subdirectory(src/a_module_tests)
add_subdirectory(src/a_makefort10)
add_subdirectory(src/a_convertfortpfaff)
add_subdirectory(src/a_convertfort10mol)
add_subdirectory(src/a_convertfort10)

Expand Down
19 changes: 19 additions & 0 deletions src/a_convertfortpfaff/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
if(convertpfaff IN_LIST EXECUTABLES_S_L)

set_module_path_directory( convertpfaff serial )

target_sources( convertpfaff
PRIVATE
convertpfaff.f90
)

set_target_properties( convertpfaff PROPERTIES SUFFIX ".x")

target_link_libraries( convertpfaff
PRIVATE
common-serial
adjoint-forward-serial
complex-serial
)

endif()

0 comments on commit dfbc9d9

Please sign in to comment.