Skip to content

Commit

Permalink
make.tscript: Lets see if we can make a simpler build script with min…
Browse files Browse the repository at this point in the history
…itscript / 26
  • Loading branch information
andreasdr committed Jan 9, 2025
1 parent a4a8187 commit 49303c7
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions make.tscript
Original file line number Diff line number Diff line change
Expand Up @@ -219,23 +219,22 @@ function: buildLibrary($name, $libraries, $definitions, $includes, $ldFlags, $fi
if (application.executeMultiple($commands, $concurrency) == false)
console.printLine("Not all files have been compiled. Stopping")
else
# link
# link
$command =
$cxx +
" " +
"-shared" +
" " +
$compilationUnits +
" " +
$librariesLdFlags +
" " +
$ldFlags +
" " +
"-o " +
$libraryPath + "/" + $name + ".so" +
" "
" " +
$librariesLdFlags +
" " +
$ldFlags
console.printLine($command)

# execute
$exitCode = $$.application::EXITCODE_SUCCESS
$error = null
Expand Down Expand Up @@ -338,14 +337,14 @@ function: buildExecutables($libraries, $definitions, $includes, $ldFlags, $files
" " +
$includes +
" " +
"-o " +
$executableFile +
" " +
$sourceFile +
" " +
$librariesLdFlags +
" " +
$ldFlags
"-o " +
" " +
$executableFile
console.printLine($command)

#
Expand Down

0 comments on commit 49303c7

Please sign in to comment.