| OLD | NEW |
| (Empty) |
| 1 #!/usr/bin/python2.4 | |
| 2 # | |
| 3 # Copyright 2009-2010 Google Inc. | |
| 4 # | |
| 5 # Licensed under the Apache License, Version 2.0 (the "License"); | |
| 6 # you may not use this file except in compliance with the License. | |
| 7 # You may obtain a copy of the License at | |
| 8 # | |
| 9 # http://www.apache.org/licenses/LICENSE-2.0 | |
| 10 # | |
| 11 # Unless required by applicable law or agreed to in writing, software | |
| 12 # distributed under the License is distributed on an "AS IS" BASIS, | |
| 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 14 # See the License for the specific language governing permissions and | |
| 15 # limitations under the License. | |
| 16 # ======================================================================== | |
| 17 | |
| 18 | |
| 19 Import('env') | |
| 20 | |
| 21 | |
| 22 local_env = env.Clone() | |
| 23 local_env.Append( | |
| 24 LIBS = [ | |
| 25 ('atls.lib', 'atlsd.lib')[local_env.Bit('debug')], | |
| 26 ('libcmt.lib', 'libcmtd.lib')[local_env.Bit('debug')], | |
| 27 ('libcpmt.lib', 'libcpmtd.lib')[local_env.Bit('debug')], | |
| 28 'netapi32.lib', | |
| 29 'psapi.lib', | |
| 30 'rasapi32.lib', | |
| 31 'shlwapi.lib', | |
| 32 'userenv.lib', | |
| 33 'version.lib', | |
| 34 'wtsapi32.lib', | |
| 35 | |
| 36 '$LIB_DIR/common.lib', | |
| 37 ], | |
| 38 CPPDEFINES = [ | |
| 39 'UNICODE', | |
| 40 '_UNICODE' | |
| 41 ], | |
| 42 ) | |
| 43 | |
| 44 local_env.FilterOut(LINKFLAGS = ['/SUBSYSTEM:WINDOWS']) | |
| 45 local_env['LINKFLAGS'] += ['/SUBSYSTEM:CONSOLE'] | |
| 46 | |
| 47 target_name = 'ReadTag' | |
| 48 | |
| 49 inputs = [ | |
| 50 'read_tag.cc', | |
| 51 ] | |
| 52 if env.Bit('use_precompiled_headers'): | |
| 53 inputs += local_env.EnablePrecompile(target_name) | |
| 54 | |
| 55 local_env.ComponentTestProgram( | |
| 56 prog_name=target_name, | |
| 57 source=inputs, | |
| 58 COMPONENT_TEST_RUNNABLE=False | |
| 59 ) | |
| OLD | NEW |