-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #380 from streeve/format_cmake
Format CMake
- Loading branch information
Showing
11 changed files
with
189 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"format": { | ||
"disable": false, | ||
"line_width": 80, | ||
"tab_size": 2, | ||
"use_tabchars": false, | ||
"fractional_tab_policy": "use-space", | ||
"max_subgroups_hwrap": 2, | ||
"max_pargs_hwrap": 6, | ||
"max_rows_cmdline": 2, | ||
"separate_ctrl_name_with_space": false, | ||
"separate_fn_name_with_space": false, | ||
"dangle_parens": false, | ||
"dangle_align": "prefix", | ||
"min_prefix_chars": 4, | ||
"max_prefix_chars": 10, | ||
"max_lines_hwrap": 2, | ||
"line_ending": "unix", | ||
"command_case": "canonical", | ||
"keyword_case": "unchanged", | ||
"always_wrap": [], | ||
"enable_sort": true, | ||
"autosort": false, | ||
"require_valid_layout": false, | ||
"layout_passes": {} | ||
}, | ||
"markup": { | ||
"bullet_char": "*", | ||
"enum_char": ".", | ||
"first_comment_is_literal": false, | ||
"literal_comment_pattern": null, | ||
"fence_pattern": "^\\s*([`~]{3}[`~]*)(.*)$", | ||
"ruler_pattern": "^\\s*[^\\w\\s]{3}.*[^\\w\\s]{3}$", | ||
"explicit_trailing_pattern": "#<", | ||
"hashruler_min_length": 10, | ||
"canonicalize_hashrulers": false, | ||
"enable_markup": true | ||
}, | ||
"encode": { | ||
"emit_byteorder_mark": false, | ||
"input_encoding": "utf-8", | ||
"output_encoding": "utf-8" | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
include(${TEST_HARNESS_DIR}/test_harness.cmake) | ||
|
||
ExaCA_add_tests(PACKAGE ExaCA-Analysis NAMES Utils KokkosUtils) | ||
ExaCA_add_tests(PACKAGE ExaCA-Analysis NAMES RepresentativeRegion) | ||
exaca_add_tests(PACKAGE ExaCA-Analysis NAMES Utils KokkosUtils) | ||
exaca_add_tests(PACKAGE ExaCA-Analysis NAMES RepresentativeRegion) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,48 @@ | ||
include(${TEST_HARNESS_DIR}/test_harness.cmake) | ||
|
||
##--------------------------------------------------------------------------## | ||
## Install example files used in tests | ||
##--------------------------------------------------------------------------## | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../examples/Inp_SmallDirSolidification.json | ||
# --------------------------------------------------------------------------## | ||
# Install example files used in tests | ||
# --------------------------------------------------------------------------## | ||
configure_file( | ||
${CMAKE_CURRENT_SOURCE_DIR}/../examples/Inp_SmallDirSolidification.json | ||
${CMAKE_CURRENT_BINARY_DIR}/Inp_SmallDirSolidification.json COPYONLY) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../examples/Inp_DirSolidification.json | ||
configure_file( | ||
${CMAKE_CURRENT_SOURCE_DIR}/../examples/Inp_DirSolidification.json | ||
${CMAKE_CURRENT_BINARY_DIR}/Inp_DirSolidification.json COPYONLY) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../examples/Inp_TwoGrainDirSolidification.json | ||
configure_file( | ||
${CMAKE_CURRENT_SOURCE_DIR}/../examples/Inp_TwoGrainDirSolidification.json | ||
${CMAKE_CURRENT_BINARY_DIR}/Inp_TwoGrainDirSolidification.json COPYONLY) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../examples/Inp_SpotMelt.json | ||
${CMAKE_CURRENT_BINARY_DIR}/Inp_SpotMelt.json COPYONLY) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../examples/Inp_SmallEquiaxedGrain.json | ||
${CMAKE_CURRENT_BINARY_DIR}/Inp_SpotMelt.json COPYONLY) | ||
configure_file( | ||
${CMAKE_CURRENT_SOURCE_DIR}/../examples/Inp_SmallEquiaxedGrain.json | ||
${CMAKE_CURRENT_BINARY_DIR}/Inp_SmallEquiaxedGrain.json COPYONLY) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../examples/Materials/Inconel625.json | ||
${CMAKE_CURRENT_BINARY_DIR}/Inconel625.json COPYONLY) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../examples/Materials/Inconel625_Quadratic.json | ||
${CMAKE_CURRENT_BINARY_DIR}/Inconel625.json COPYONLY) | ||
configure_file( | ||
${CMAKE_CURRENT_SOURCE_DIR}/../examples/Materials/Inconel625_Quadratic.json | ||
${CMAKE_CURRENT_BINARY_DIR}/Inconel625_Quadratic.json COPYONLY) | ||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../examples/Materials/SS316.json | ||
${CMAKE_CURRENT_BINARY_DIR}/SS316.json COPYONLY) | ||
${CMAKE_CURRENT_BINARY_DIR}/SS316.json COPYONLY) | ||
|
||
ExaCA_add_tests(PACKAGE ExaCA-Core NAMES InterfacialResponse Inputs Orientation Parse Print) | ||
exaca_add_tests( | ||
PACKAGE | ||
ExaCA-Core | ||
NAMES | ||
InterfacialResponse | ||
Inputs | ||
Orientation | ||
Parse | ||
Print) | ||
|
||
ExaCA_add_tests(MPI PACKAGE ExaCA-Core NAMES CellData Grid Interface Nucleation Temperature Update) | ||
exaca_add_tests( | ||
MPI | ||
PACKAGE | ||
ExaCA-Core | ||
NAMES | ||
CellData | ||
Grid | ||
Interface | ||
Nucleation | ||
Temperature | ||
Update) |
Oops, something went wrong.