mirror of https://github.com/AxioDL/metaforce.git
Generate ApplicationReps.hpp in binary directory
This commit is contained in:
parent
46a6fc67ed
commit
ba6e920034
|
@ -1,3 +1,2 @@
|
||||||
DataSpecRegistry.hpp
|
DataSpecRegistry.hpp
|
||||||
include/hecl/ApplicationReps.hpp
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
include_guard(GLOBAL)
|
include_guard(GLOBAL)
|
||||||
|
|
||||||
|
file(RELATIVE_PATH REL_PATH ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_LIST_DIR})
|
||||||
|
include_directories(${CMAKE_CURRENT_BINARY_DIR}/${REL_PATH})
|
||||||
|
|
||||||
unset(HECL_APPLICATION_REPS_TARGETS_LIST CACHE)
|
unset(HECL_APPLICATION_REPS_TARGETS_LIST CACHE)
|
||||||
unset(HECL_APPLICATION_REPS_INCLUDES_LIST CACHE)
|
unset(HECL_APPLICATION_REPS_INCLUDES_LIST CACHE)
|
||||||
unset(HECL_APPLICATION_PIPELINE_REPS_UNIVERSAL CACHE)
|
unset(HECL_APPLICATION_PIPELINE_REPS_UNIVERSAL CACHE)
|
||||||
|
|
|
@ -45,7 +45,7 @@ foreach(name ${HECL_APPLICATION_STAGE_REPS})
|
||||||
set(HECL_APPLICATION_STAGE_REPS_LOCAL "${HECL_APPLICATION_STAGE_REPS_LOCAL}STAGES_${name}(P, S) \\\n")
|
set(HECL_APPLICATION_STAGE_REPS_LOCAL "${HECL_APPLICATION_STAGE_REPS_LOCAL}STAGES_${name}(P, S) \\\n")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
configure_file(include/hecl/ApplicationReps.hpp.in ${CMAKE_CURRENT_SOURCE_DIR}/include/hecl/ApplicationReps.hpp @ONLY)
|
configure_file(include/hecl/ApplicationReps.hpp.in ApplicationReps.hpp @ONLY)
|
||||||
|
|
||||||
set(ATHENA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/extern/athena/include)
|
set(ATHENA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/extern/athena/include)
|
||||||
set(ATHENA_INCLUDE_DIR ${ATHENA_INCLUDE_DIR} PARENT_SCOPE)
|
set(ATHENA_INCLUDE_DIR ${ATHENA_INCLUDE_DIR} PARENT_SCOPE)
|
||||||
|
|
Loading…
Reference in New Issue