Skip to content

Commit

Permalink
Fix codegen path to allow out-of-tree building steemit#1157
Browse files Browse the repository at this point in the history
  • Loading branch information
theoreticalbts committed Jun 6, 2017
1 parent bfac0e3 commit 2d55b35
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libraries/manifest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ execute_process(
python3 -m steem_manifest.build
-j ${CMAKE_CURRENT_BINARY_DIR}/template_context
-t ${CMAKE_CURRENT_SOURCE_DIR}/templates
-o ${CMAKE_CURRENT_BINARY_DIR}/gen
-o ${CMAKE_CURRENT_BINARY_DIR}/gensrc
--print-dependencies
OUTPUT_VARIABLE MANIFEST_DEPS
RESULT_VARIABLE RETURN_VALUE
Expand All @@ -65,7 +65,7 @@ execute_process(
python3 -m steem_manifest.build
-j ${CMAKE_CURRENT_BINARY_DIR}/template_context
-t ${CMAKE_CURRENT_SOURCE_DIR}/templates
-o ${CMAKE_CURRENT_BINARY_DIR}/gen
-o ${CMAKE_CURRENT_BINARY_DIR}/gensrc
--print-outputs
OUTPUT_VARIABLE MANIFEST_OUTPUTS
RESULT_VARIABLE RETURN_VALUE
Expand All @@ -81,7 +81,7 @@ add_custom_command(
python3 -m steem_manifest.build
-j ${CMAKE_CURRENT_BINARY_DIR}/template_context
-t ${CMAKE_CURRENT_SOURCE_DIR}/templates
-o ${CMAKE_CURRENT_BINARY_DIR}/gen
-o ${CMAKE_CURRENT_BINARY_DIR}/gensrc
OUTPUT ${MANIFEST_OUTPUTS}
DEPENDS ${MANIFEST_DEPS} ${CMAKE_CURRENT_SOURCE_DIR}/steem_manifest/build.py
)
Expand All @@ -104,7 +104,7 @@ execute_process(
python3 -m steem_manifest.build
-j ${CMAKE_CURRENT_BINARY_DIR}/template_context
-t ${CMAKE_CURRENT_SOURCE_DIR}/templates
-o ${CMAKE_CURRENT_BINARY_DIR}/gen
-o ${CMAKE_CURRENT_BINARY_DIR}/gensrc
)

add_subdirectory( ${CMAKE_CURRENT_BINARY_DIR}/gen/plugins )
add_subdirectory( ${CMAKE_CURRENT_BINARY_DIR}/gensrc/plugins ${CMAKE_CURRENT_BINARY_DIR}/genbuild )

0 comments on commit 2d55b35

Please sign in to comment.