Changeset 19774
- Timestamp:
- 10/15/19 10:47:52 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/CMakeLists.txt
r19773 r19774 270 270 # install directory. In this case, the pcm files 271 271 # are not where the library is where they should be 272 ADD_CUSTOM_COMMAND( 273 OUTPUT lib/${_CINT}_rdict.pcm 274 COMMAND ln -s ../dictionary/${_CINT}_rdict.pcm ${_CINT}_rdict.pcm || true 272 ADD_CUSTOM_COMMAND(TARGET ${_CINT} POST_BUILD 273 COMMAND test -f ../dictionary/${CINT}_rdict.pcm && ln -s ../dictionary/${_CINT}_rdict.pcm ${_CINT}_rdict.pcm || true 275 274 WORKING_DIRECTORY lib 276 VERBATIM) 277 ADD_CUSTOM_TARGET(${_CINT}.p ALL DEPENDS lib/${_CINT}_rdict.pcm) 275 VERBATIM) 278 276 279 277 ENDMACRO() … … 349 347 # install directory. In this case, the pcm files 350 348 # are not where the library is where they should be 351 ADD_CUSTOM_COMMAND( 352 OUTPUT lib/Core_rdict.pcm 353 COMMAND ln -s ../dictionary/Core_rdict.pcm Core_rdict.pcm || true 349 ADD_CUSTOM_COMMAND(TARGET Core POST_BUILD 350 COMMAND test -f ../dictionary/Core_rdict.pcm && ln -s ../dictionary/Core_rdict.pcm Core_rdict.pcm || true 354 351 WORKING_DIRECTORY lib 355 VERBATIM) 356 ADD_CUSTOM_TARGET(Core.p ALL DEPENDS lib/Core_rdict.pcm) 352 VERBATIM) 357 353 358 354
Note:
See TracChangeset
for help on using the changeset viewer.