Skip to content

CreateLauncher : Allow PLATFORM choice & semicolon usage #23

Merged
merged 2 commits into from Apr 15, 2015

2 participants

@StudioEtrange
  • give a chance to choose PLATFORM

  • some tweaks when RUNTIME_LIBRARIES_ENVIRONMENT is empty

@StudioEtrange
  • When using ENVIRONMENT we need to allow ";"
 create_target_launcher(${name}
          ARGS
          RUNTIME_LIBRARY_DIRS
          WORKING_DIRECTORY
          ${CMAKE_CURRENT_BINARY_DIR}
          ENVIRONMENT
          VAR1=1
          PATH=${QTDIR}\\\;%PATH%
          VAR2=2
          TARGET_PLATFORM
          ${TARGET_CPU})

...

So LocalDebuggerEnvironment will be

<LocalDebuggerEnvironment>
VAR1=1
E:/CODE/qt/qt4_x64/bin;%PATH%
VAR2=2
</LocalDebuggerEnvironment>
@rpavlik
Owner
rpavlik commented Apr 15, 2015

Sorry it took me a while to get to this - looks good to me, though, at least on a visual inspection - I imagine the "if" statement is to handle the semicolon.

@rpavlik rpavlik merged commit 5b85e5c into rpavlik:master Apr 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.