Use PROJECT_BINARY_DIR instead of CMAKE_BINARY_DIR for tool invocation

This commit is contained in:
Shahram Najm 2015-03-09 16:22:55 +00:00
parent a23f9e154d
commit cd4926d964
4 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ def_dir="${proj_dir}/definitions"
ECCODES_DEFINITION_PATH="${def_dir}" ECCODES_DEFINITION_PATH="${def_dir}"
export ECCODES_DEFINITION_PATH export ECCODES_DEFINITION_PATH
tools_dir=@CMAKE_BINARY_DIR@/bin/ tools_dir=@PROJECT_BINARY_DIR@/bin/
examples_dir=@CMAKE_CURRENT_BINARY_DIR@/ examples_dir=@CMAKE_CURRENT_BINARY_DIR@/
samp_dir="${proj_dir}/samples" samp_dir="${proj_dir}/samples"

View File

@ -14,7 +14,7 @@ def_dir="${proj_dir}/definitions"
ECCODES_DEFINITION_PATH="${def_dir}" ECCODES_DEFINITION_PATH="${def_dir}"
export ECCODES_DEFINITION_PATH export ECCODES_DEFINITION_PATH
tools_dir=@CMAKE_BINARY_DIR@/bin/ tools_dir=@PROJECT_BINARY_DIR@/bin/
examples_dir=@CMAKE_CURRENT_BINARY_DIR@/ examples_dir=@CMAKE_CURRENT_BINARY_DIR@/
samp_dir="${proj_dir}/samples" samp_dir="${proj_dir}/samples"

View File

@ -14,7 +14,7 @@ def_dir="${proj_dir}/definitions"
ECCODES_DEFINITION_PATH="${def_dir}" ECCODES_DEFINITION_PATH="${def_dir}"
export ECCODES_DEFINITION_PATH export ECCODES_DEFINITION_PATH
tools_dir=@CMAKE_BINARY_DIR@/bin/ tools_dir=@PROJECT_BINARY_DIR@/bin/
examples_dir=@CMAKE_CURRENT_BINARY_DIR@/ examples_dir=@CMAKE_CURRENT_BINARY_DIR@/
samp_dir="${proj_dir}/samples" samp_dir="${proj_dir}/samples"

View File

@ -14,9 +14,9 @@ def_dir=@PROJECT_SOURCE_DIR@/definitions
ECCODES_DEFINITION_PATH="${def_dir}" ECCODES_DEFINITION_PATH="${def_dir}"
export ECCODES_DEFINITION_PATH export ECCODES_DEFINITION_PATH
tools_dir=@CMAKE_BINARY_DIR@/bin/ tools_dir=@PROJECT_BINARY_DIR@/bin/
tigge_dir=@CMAKE_BINARY_DIR@/bin/ tigge_dir=@PROJECT_BINARY_DIR@/bin/
test_dir=@CMAKE_BINARY_DIR@/tests test_dir=@PROJECT_BINARY_DIR@/tests
samp_dir="${proj_dir}/samples" samp_dir="${proj_dir}/samples"
ECCODES_SAMPLES_PATH=${samp_dir} ECCODES_SAMPLES_PATH=${samp_dir}