Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
fleur
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
54
Issues
54
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
fleur
fleur
Commits
b482089a
Commit
b482089a
authored
Mar 19, 2019
by
Daniel Wortmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated cmake build system
parent
0e81fcd4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
cmake/Files_and_Targets.txt
cmake/Files_and_Targets.txt
+3
-3
diagonalization/CMakeLists.txt
diagonalization/CMakeLists.txt
+1
-1
juDFT/CMakeLists.txt
juDFT/CMakeLists.txt
+5
-1
No files found.
cmake/Files_and_Targets.txt
View file @
b482089a
...
...
@@ -79,13 +79,13 @@ if (${FLEUR_USE_SERIAL})
target_compile_definitions(fleur PUBLIC ${FLEUR_DEFINITIONS})
target_link_libraries(fleur ${FLEUR_LIBRARIES})
target_link_libraries(fleur juDFT)
set_target_properties(fleur PROPERTIES Fortran_MODULE_DIRECTORY
fleur_modules COMPILE_OPTIONS "-IjuDFT_modules;-Ifleur_modules"
)
set_target_properties(fleur PROPERTIES Fortran_MODULE_DIRECTORY
modules/fleur COMPILE_OPTIONS -Imodules/fleur
)
#inpgen executable
add_executable(inpgen ${inpgen_F77} ${inpgen_F90} ${juDFT_SRC_F90} ${c_filesInpgen})
target_compile_definitions(inpgen PUBLIC ${FLEUR_DEFINITIONS})
target_link_libraries(inpgen ${FLEUR_LIBRARIES})
target_link_libraries(inpgen juDFT)
set_target_properties(inpgen PROPERTIES Fortran_MODULE_DIRECTORY
inpgen_modules COMPILE_OPTIONS "-IjuDFT_modules;-Iinpgen_modules"
)
set_target_properties(inpgen PROPERTIES Fortran_MODULE_DIRECTORY
modules/inpgen COMPILE_OPTIONS -Imodules/inpgen
)
endif()
#parallel executables
if(${FLEUR_USE_MPI})
...
...
@@ -94,7 +94,7 @@ if(${FLEUR_USE_MPI})
target_compile_definitions(fleur_MPI PUBLIC ${FLEUR_MPI_DEFINITIONS})
target_link_libraries(fleur_MPI ${FLEUR_LIBRARIES})
target_link_libraries(fleur_MPI juDFT)
set_target_properties(fleur_MPI PROPERTIES Fortran_MODULE_DIRECTORY
fleur_MPI_modules COMPILE_OPTIONS "-IjuDFT_modules;-Ifleur_MPI_modules"
)
set_target_properties(fleur_MPI PROPERTIES Fortran_MODULE_DIRECTORY
modules/fleur_MPI COMPILE_OPTIONS -Imodules/fleur_MPI
)
endif ()
...
...
diagonalization/CMakeLists.txt
View file @
b482089a
...
...
@@ -45,5 +45,5 @@ add_executable(diag_test ${diag_test_files})
target_compile_definitions
(
diag_test PUBLIC
${
FLEUR_DEFINITIONS
}
)
target_link_libraries
(
diag_test
${
FLEUR_LIBRARIES
}
)
target_link_libraries
(
diag_test juDFT
)
set_target_properties
(
diag_test PROPERTIES Fortran_MODULE_DIRECTORY
diag_test_modules COMPILE_OPTIONS
"-IjuDFT_modules;-Idiag_test_module
s"
)
set_target_properties
(
diag_test PROPERTIES Fortran_MODULE_DIRECTORY
modules/diag_test COMPILE_OPTIONS -Imodules/diag_test RUNTIME_OUTPUT_DIRECTORY
"
${
CMAKE_BINARY_DIR
}
/tool
s"
)
juDFT/CMakeLists.txt
View file @
b482089a
if
(
${
FLEUR_USE_HDF5
}
)
set
(
judft_HDF
juDFT/hdf_accessprp.F90
...
...
@@ -28,4 +31,5 @@ juDFT/xmlOutput.F90
)
target_compile_definitions
(
juDFT PUBLIC
${
FLEUR_DEFINITIONS
}
)
target_link_libraries
(
juDFT
${
FLEUR_LIBRARIES
}
)
set_target_properties
(
juDFT PROPERTIES Fortran_MODULE_DIRECTORY juDFT_modules COMPILE_OPTIONS -IjuDFT_modules
)
include_directories
(
"
${
CMAKE_CURRENT_BINARY_DIR
}
/modules/juDFT"
)
set_target_properties
(
juDFT PROPERTIES Fortran_MODULE_DIRECTORY modules/juDFT
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment