Skip to content

Commit c1a604b

Browse files
committed
Configure sim output using MCCODE_EXE_SUFFIX_NEVEREMPTY
1 parent a1f3c16 commit c1a604b

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

cmake/Modules/PlatformDefaults.cmake

-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ function( detect_platform_variables resultvarname )
2424
if ( MCCODE_EXE_SUFFIX MATCHES "^\\." )
2525
string(SUBSTRING "${MCCODE_EXE_SUFFIX}" 1 -1 MCCODE_EXE_SUFFIX)
2626
endif()
27-
# Ends up also on code-generator binary name - which it shouldn't, disabling for now...
28-
#if ( MCCODE_EXE_SUFFIX STREQUAL "" ) # If we arrive here without any suffix, opt for "out"
29-
# set( MCCODE_EXE_SUFFIX "out" )
30-
#endif()
3127
provide_var( MCCODE_EXE_SUFFIX )
3228

3329
#BROWSER (a.k.a. generic "open" command):

tools/Python/mccodelib/mccode_config.json.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"MPINODES": "auto"
2929
},
3030
"platform": {
31-
"EXESUFFIX": "@MCCODE_EXE_SUFFIX@"
31+
"EXESUFFIX": "@MCCODE_EXE_SUFFIX_NEVEREMPTY@"
3232
},
3333
"directories": {
3434
}

0 commit comments

Comments
 (0)