mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-03 20:29:15 +01:00
19 lines
429 B
Prolog
19 lines
429 B
Prolog
equals(copydata, 1) {
|
|
|
|
win32 {
|
|
# copy SDL DLL
|
|
SDL_DLLS = \
|
|
SDL.dll
|
|
for(dll, SDL_DLLS) {
|
|
data_copy.commands += $(COPY_FILE) $$targetPath(\"$$(SDL_DIR)/bin/$$dll\") $$targetPath(\"$$GCS_APP_PATH/$$dll\") $$addNewline()
|
|
}
|
|
|
|
# add make target
|
|
POST_TARGETDEPS += copydata
|
|
|
|
data_copy.target = copydata
|
|
QMAKE_EXTRA_TARGETS += data_copy
|
|
}
|
|
|
|
}
|