michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: # We must specify CPP_SOURCES in order to link using the proper c++ linker michael@0: # on certain platforms. michael@0: SOURCES += [ michael@0: 'nsTestSample.cpp', michael@0: ] michael@0: michael@0: # SIMPLE_PROGRAMS compiles a single .cpp file into an executable michael@0: SIMPLE_PROGRAMS += [ michael@0: 'nsTestSample' michael@0: ] michael@0: michael@0: # Whatever code is going to be linked with the *standalone* glue must be michael@0: # built with the XPCOM_GLUE define set. michael@0: DEFINES['XPCOM_GLUE'] = True