Commit 9773e2b0 authored by Grumbel's avatar Grumbel

Removed SConstruct, use CMake instead

parent f9854a86
## -*- python -*-
## jstest-gtk - A graphical joystick tester
## Copyright (C) 2009 Ingo Ruhnke <grumbel@gmx.de>
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
binreloc_env = Environment(CPPDEFINES=["ENABLE_BINRELOC"])
binreloc_lib = binreloc_env.StaticLibrary("binreloc", ["external/binreloc-2.0/binreloc.c"])
env = Environment(ENV=os.environ,
CXXFLAGS=["-g", "-Wall", "-std=c++11", "-Wextra", # "-Wconversion", "-Wshadow" "-Weffc++",
"-pedantic", "-Wno-c++0x-compat", "-Wnon-virtual-dtor",
"-Wcast-qual", "-Winit-self", "-Wno-unused-parameter"],
LIBS=["expat", binreloc_lib],
CPPPATH=["external/binreloc-2.0/"])
env.ParseConfig('pkg-config --cflags --libs gtkmm-2.4 sigc++-2.0 x11 | sed "s/-I/-isystem/"')
env.Program('jstest-gtk', [
'src/axis_widget.cpp',
'src/button_widget.cpp',
'src/throttle_widget.cpp',
'src/rudder_widget.cpp',
'src/joystick_list_widget.cpp',
'src/joystick_test_widget.cpp',
'src/joystick_calibration_widget.cpp',
'src/joystick_map_widget.cpp',
'src/joystick.cpp',
'src/calibrate_maximum_dialog.cpp',
'src/remap_widget.cpp',
'src/evdev_helper.cpp',
'src/main.cpp'
])
# EOF #
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment