Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OUTPUT_DIRECTORY variables cannot be changed #7

Closed
fbudin69500 opened this issue Jun 22, 2012 · 1 comment
Closed

OUTPUT_DIRECTORY variables cannot be changed #7

fbudin69500 opened this issue Jun 22, 2012 · 1 comment
Labels

Comments

@fbudin69500
Copy link
Member

SlicerExecutionModel_DEFAULT_CLI___OUTPUT_DIRECTORY and SlicerExecutionModel_DEFAULT_CLI_INSTALL___DESTINATION variables' default value is used when using SEMMacroBuildCLI.cmake because of find_package(SlicerExecutionModel REQUIRED GenerateCLP) (line 100). One solution is to set those varialbes as CACHE variables when setting their default value in SlicerExecutionModelConfig.cmake.

@jcfr jcfr added the bug label Sep 28, 2015
@jcfr
Copy link
Member

jcfr commented Jul 8, 2016

Developer can set output directory with the following methods (where last method has the highest priority ):

  • configuring SlicerExecutionModel project setting variables SlicerExecutionModel_DEFAULT_CLI_(RUNTIME|LIBRARY|ARCHIVE)_OUTPUT_DIRECTORY
  • setting variables SlicerExecutionModel_CLI_(RUNTIME|LIBRARY|ARCHIVE)_OUTPUT_DIRECTORY in the current scope before including SEMMacroBuildCLI
  • specifying (RUNTIME|LIBRARY|ARCHIVE)_OUTPUT_DIRECTORY option to SEMMacroBuildCLI

The same applies for SlicerExecutionModel_CLI_INSTALL_(RUNTIME|LIBRARY|ARCHIVE)_DESTINATION

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants