OLD | NEW |
1 # Copyright 2009, Google Inc. | 1 # Copyright 2009, Google Inc. |
2 # All rights reserved. | 2 # All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 pch, pch_obj = env.PCH('cross/precompile.cc') | 57 pch, pch_obj = env.PCH('cross/precompile.cc') |
58 env['PCH'] = pch | 58 env['PCH'] = pch |
59 env['PCHSTOP'] = 'import/cross/precompile.h' | 59 env['PCHSTOP'] = 'import/cross/precompile.h' |
60 else: | 60 else: |
61 pch_obj = 'cross/precompile.cc' | 61 pch_obj = 'cross/precompile.cc' |
62 env.Append(CCFLAGS = [['-include', 'import/cross/precompile.h']]) | 62 env.Append(CCFLAGS = [['-include', 'import/cross/precompile.h']]) |
63 | 63 |
64 collada_inputs = [ | 64 collada_inputs = [ |
65 'cross/collada.cc', | 65 'cross/collada.cc', |
66 'cross/collada_zip_archive.cc', | 66 'cross/collada_zip_archive.cc', |
| 67 'cross/destination_buffer.cc', |
67 'cross/zip_archive.cc', | 68 'cross/zip_archive.cc', |
68 'cross/gz_compressor.cc', | 69 'cross/gz_compressor.cc', |
69 'cross/file_output_stream_processor.cc', | 70 'cross/file_output_stream_processor.cc', |
70 'cross/tar_generator.cc', | 71 'cross/tar_generator.cc', |
71 'cross/targz_generator.cc', | 72 'cross/targz_generator.cc', |
72 ] | 73 ] |
73 | 74 |
74 archive_inputs = [ | 75 archive_inputs = [ |
75 pch_obj, | 76 pch_obj, |
76 | 77 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 env.Requires(conditioner_lib, | 136 env.Requires(conditioner_lib, |
136 env.Replicate('$ARTIFACTS_DIR', ['$CG_DIR/bin/cgc', | 137 env.Replicate('$ARTIFACTS_DIR', ['$CG_DIR/bin/cgc', |
137 '$CG_DIR/lib/libCg.so', | 138 '$CG_DIR/lib/libCg.so', |
138 '$CG_DIR/lib/libCgGL.so', | 139 '$CG_DIR/lib/libCgGL.so', |
139 '$GLEW_DIR/lib/libGLEW.so.1.5', | 140 '$GLEW_DIR/lib/libGLEW.so.1.5', |
140 ])) | 141 ])) |
141 | 142 |
142 if env.Bit('mac'): | 143 if env.Bit('mac'): |
143 env.Requires(conditioner_lib, | 144 env.Requires(conditioner_lib, |
144 env.Replicate('$ARTIFACTS_DIR', ['$CG_DIR/bin/cgc'])) | 145 env.Replicate('$ARTIFACTS_DIR', ['$CG_DIR/bin/cgc'])) |
OLD | NEW |