Skip to content

Commit

Permalink
Configure sim output using MCCODE_EXE_SUFFIX_NEVEREMPTY
Browse files Browse the repository at this point in the history
  • Loading branch information
willend committed Feb 25, 2024
1 parent a1f3c16 commit c1a604b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions cmake/Modules/PlatformDefaults.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ function( detect_platform_variables resultvarname )
if ( MCCODE_EXE_SUFFIX MATCHES "^\\." )
string(SUBSTRING "${MCCODE_EXE_SUFFIX}" 1 -1 MCCODE_EXE_SUFFIX)
endif()
# Ends up also on code-generator binary name - which it shouldn't, disabling for now...
#if ( MCCODE_EXE_SUFFIX STREQUAL "" ) # If we arrive here without any suffix, opt for "out"
# set( MCCODE_EXE_SUFFIX "out" )
#endif()
provide_var( MCCODE_EXE_SUFFIX )

#BROWSER (a.k.a. generic "open" command):
Expand Down
2 changes: 1 addition & 1 deletion tools/Python/mccodelib/mccode_config.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"MPINODES": "auto"
},
"platform": {
"EXESUFFIX": "@MCCODE_EXE_SUFFIX@"
"EXESUFFIX": "@MCCODE_EXE_SUFFIX_NEVEREMPTY@"
},
"directories": {
}
Expand Down

0 comments on commit c1a604b

Please sign in to comment.