| 38 | # Remove test files generated when compiling avoiding problems when the project is moved |
| 39 | # due to absolute path to header files |
| 40 | echo "Cleaning auto generated test files..." |
| 41 | |
| 42 | # source/graphics |
| 43 | (cd ../../source/graphics/tests && rm -f *.cpp) |
| 44 | |
| 45 | # source/gui |
| 46 | (cd ../../source/gui/tests && rm -f *.cpp) |
| 47 | |
| 48 | # source/lib/allocators |
| 49 | (cd ../../source/lib/allocators/test && rm -f *.cpp) |
| 50 | |
| 51 | # source/lib/file |
| 52 | (cd ../../source/lib/file/disabled_tests && rm -f *.cpp) |
| 53 | |
| 54 | # source/lib/file/archive |
| 55 | (cd ../../source/lib/file/archive/disabled_tests && rm -f *.cpp) |
| 56 | |
| 57 | # source/lib/file/common |
| 58 | (cd ../../source/lib/file/common/tests && rm -f *.cpp) |
| 59 | |
| 60 | # source/lib/file/vfs |
| 61 | (cd ../../source/lib/file/vfs/tests && rm -f *.cpp) |
| 62 | |
| 63 | # source/lib/posix |
| 64 | (cd ../../source/lib/posix/tests && rm -f *.cpp) |
| 65 | |
| 66 | # source/lib/res/graphics |
| 67 | (cd ../../source/lib/res/graphics/tests && rm -f *.cpp) |
| 68 | |
| 69 | # source/lib/sysdep/arch/x86_x64 |
| 70 | (cd ../../source/lib/sysdep/arch/x86_x64/tests && rm -f *.cpp) |
| 71 | |
| 72 | # source/lib/sysdep/os/win |
| 73 | (cd ../../source/lib/sysdep/os/win/tests && rm -f *.cpp) |
| 74 | |
| 75 | # source/lib/sysdep |
| 76 | (cd ../../source/lib/sysdep/tests && rm -f *.cpp) |
| 77 | |
| 78 | # source/lib |
| 79 | (cd ../../source/lib/tests && rm -f *.cpp) |
| 80 | |
| 81 | # source/maths |
| 82 | (cd ../../source/maths/tests && rm -f *.cpp) |
| 83 | |
| 84 | # source/network |
| 85 | (cd ../../source/network/tests && rm -f *.cpp) |
| 86 | |
| 87 | # source/ps |
| 88 | (cd ../../source/ps/tests && rm -f *.cpp) |
| 89 | |
| 90 | # source/ps/GameSetup |
| 91 | (cd ../../source/ps/GameSetup/tests && rm -f *.cpp) |
| 92 | |
| 93 | # source/ps/XML |
| 94 | (cd ../../source/ps/XML/tests && rm -f *.cpp) |
| 95 | |
| 96 | # source/scriptinterface |
| 97 | (cd ../../source/scriptinterface/tests && rm -f *.cpp) |
| 98 | |
| 99 | # source/simulation2 |
| 100 | (cd ../../source/simulation2/tests && rm -f *.cpp) |
| 101 | |
| 102 | # source/simulation2/components |
| 103 | (cd ../../source/simulation2/components/tests && rm -f *.cpp) |
| 104 | |
| 105 | # source/third_party/encryption |
| 106 | (cd ../../source/third_party/encryption/tests && rm -f *.cpp) |
| 107 | |
| 108 | # source/tools/atlas/AtlasObject |
| 109 | (cd ../../source/tools/atlas/AtlasObject/tests && rm -f *.cpp) |
| 110 | |
| 111 | |