Avoid delete file from source dir.
This commit is contained in:
parent
1374006206
commit
a5b785fff4
1 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
project(QtDeclarative)
|
project(QtDeclarative)
|
||||||
|
|
||||||
set(QtDeclarative_registerType "${CMAKE_CURRENT_SOURCE_DIR}/pysideqmlregistertype.cpp")
|
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_CURRENT_SOURCE_DIR}/pysideqmlregistertype.cpp"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/PySide/QtDeclarative/pysideqmlregistertype.cpp")
|
||||||
|
|
||||||
|
set(QtDeclarative_registerType "${CMAKE_CURRENT_BINARY_DIR}/PySide/QtDeclarative/pysideqmlregistertype.cpp")
|
||||||
|
|
||||||
set(QtDeclarative_SRC
|
set(QtDeclarative_SRC
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/PySide/QtDeclarative/qdeclarativecomponent_wrapper.cpp
|
${CMAKE_CURRENT_BINARY_DIR}/PySide/QtDeclarative/qdeclarativecomponent_wrapper.cpp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue