You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we expand ${_idlfile} here it will become COMMAND midl.exe ARGS /${MIDL_ARCH} /env ${MIDL_ARCH} /nologo ${CMAKE_CURRENT_LIST_DIR}/${CMAKE_SOURCE_DIR}/mylib/source/mylib.idl
Now we have a problem :)
The text was updated successfully, but these errors were encountered:
I have a bit strange project struct... :)
For example, I have:
So I use
add_idl(mylibIDL ${CMAKE_SOURCE_DIR}/mylib/source/mylib.idl)
.Now, look at
${CMAKE_SOURCE_DIR}/mylib/source/mylib.idl
function(add_idl _target _idlfile)
and then athttps://github.com/apriorit/FindIDL/blob/master/cmake/FindIDL.cmake#L19
COMMAND midl.exe ARGS /${MIDL_ARCH} /env ${MIDL_ARCH} /nologo ${CMAKE_CURRENT_LIST_DIR}/${_idlfile}
If we expand
${_idlfile}
here it will becomeCOMMAND midl.exe ARGS /${MIDL_ARCH} /env ${MIDL_ARCH} /nologo ${CMAKE_CURRENT_LIST_DIR}/${CMAKE_SOURCE_DIR}/mylib/source/mylib.idl
Now we have a problem :)
The text was updated successfully, but these errors were encountered: