You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
188 B
5 lines
188 B
1 year ago
|
set(CMAKE_Fortran_MODULE_DIRECTORY "${PROJECT_BINARY_DIR}/include")
|
||
|
add_library(objmod OBJECT objmod.f90)
|
||
|
add_executable(objmain objmain.f90)
|
||
|
target_link_libraries(objmain PRIVATE objmod)
|