mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
CMake: Add correct dependencies of generated swig.c files on all headers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20688 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
186a7e621c
commit
95998ceed2
@ -74,10 +74,10 @@ SET (libgncmod_engine_HEADERS
|
|||||||
|
|
||||||
# Command to generate the swig-engine.c wrapper file
|
# Command to generate the swig-engine.c wrapper file
|
||||||
SET (SWIG_ENGINE_C ${CMAKE_CURRENT_BINARY_DIR}/swig-engine.c)
|
SET (SWIG_ENGINE_C ${CMAKE_CURRENT_BINARY_DIR}/swig-engine.c)
|
||||||
GNC_ADD_SWIG_COMMAND (${SWIG_ENGINE_C} ${CMAKE_CURRENT_SOURCE_DIR}/engine.i)
|
GNC_ADD_SWIG_COMMAND (${SWIG_ENGINE_C} ${CMAKE_CURRENT_SOURCE_DIR}/engine.i ${libgncmod_engine_HEADERS})
|
||||||
|
|
||||||
SET (SWIG_BUSINESS_CORE_C ${CMAKE_CURRENT_BINARY_DIR}/swig-business-core.c)
|
SET (SWIG_BUSINESS_CORE_C ${CMAKE_CURRENT_BINARY_DIR}/swig-business-core.c)
|
||||||
GNC_ADD_SWIG_COMMAND (${SWIG_BUSINESS_CORE_C} ${CMAKE_CURRENT_SOURCE_DIR}/business-core.i)
|
GNC_ADD_SWIG_COMMAND (${SWIG_BUSINESS_CORE_C} ${CMAKE_CURRENT_SOURCE_DIR}/business-core.i ${libgncmod_engine_HEADERS})
|
||||||
|
|
||||||
# Command to generate the iso-4217-currencies.c file
|
# Command to generate the iso-4217-currencies.c file
|
||||||
SET (ISO_4217_C ${CMAKE_CURRENT_BINARY_DIR}/iso-4217-currencies.c)
|
SET (ISO_4217_C ${CMAKE_CURRENT_BINARY_DIR}/iso-4217-currencies.c)
|
||||||
|
Loading…
Reference in New Issue
Block a user