Hi Jurko,
Thanks for your answer !
lib A :
# Library creation rule
klib gameobject : [ glob *.cpp ]
/core//core
/sys//sys
/script//script
/script-extensions//core
;
Lib B :
# Declare Python extensions
kpython-extension core : coreextension.cpp
/core//core
/script//script ;
In a shared file :
# Common rules to build, install python extensions
rule kpython-extension ( name : extra-sources * : extra-requirements * )
{
python-extension $(name) : $(extra-sources) :
[ getDefines ]
[ getRequirements ]
$(extra-requirements) ;
folder = [ getKenginPath ] ;
folder = $(folder)/script/common/extensions ;
# Install rule
install dist$(name) : $(name) :
<location>$(folder)
<install-type>PYTHON_EXTENSION
;
}
This works properly i have no error when i compile but if i modify coreextension.cpp and i build gameobject lib it doesn't detect the change in coreextension.cpp file and doesn't rebuild it. I tried to remove the install rule but it doesn't change anything.
Do you know why coreextension isn't rebuilt ?