You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2016/04/06 19:58:12 UTC

[2/3] qpid-proton git commit: NO-JIRA: Use ${Proton_SOURCE_DIR} in CMakeLists

NO-JIRA: Use ${Proton_SOURCE_DIR} in CMakeLists

Improve maintainability of Javascript binding's CMakeLists.txt by replacing the
use of ${PN_PATH}/../ with ${Proton_SOURCE_DIR}


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/353b345b
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/353b345b
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/353b345b

Branch: refs/heads/master
Commit: 353b345bcd29b06a1a662df12253811756f891c6
Parents: 46f9496
Author: Adrian Preston <pr...@uk.ibm.com>
Authored: Thu Mar 31 16:11:47 2016 +0100
Committer: Adrian Preston <pr...@uk.ibm.com>
Committed: Thu Mar 31 16:11:47 2016 +0100

----------------------------------------------------------------------
 proton-c/bindings/javascript/CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/353b345b/proton-c/bindings/javascript/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/bindings/javascript/CMakeLists.txt b/proton-c/bindings/javascript/CMakeLists.txt
index 368a2fb..971097c 100644
--- a/proton-c/bindings/javascript/CMakeLists.txt
+++ b/proton-c/bindings/javascript/CMakeLists.txt
@@ -192,11 +192,11 @@ target_link_libraries(qpid-proton-bitcode)
 
 
 # Compile the send-async.c and recv-async.c examples into JavaScript
-include_directories(${PN_PATH}/../examples/c/include)
-add_executable(send-async.js ${PN_PATH}/../examples/c/messenger/send-async.c)
+include_directories(${Proton_SOURCE_DIR}/examples/c/include)
+add_executable(send-async.js ${Proton_SOURCE_DIR}/examples/c/messenger/send-async.c)
 target_link_libraries(send-async.js qpid-proton-bitcode)
 
-add_executable(recv-async.js ${PN_PATH}/../examples/c/messenger/recv-async.c)
+add_executable(recv-async.js ${Proton_SOURCE_DIR}/examples/c/messenger/recv-async.c)
 target_link_libraries(recv-async.js qpid-proton-bitcode)
 
 set_target_properties(


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org