File: SConscript

package info (click to toggle)
gpick 0.2.5%2Bgit20161221-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,748 kB
  • ctags: 3,744
  • sloc: cpp: 26,803; python: 871; ansic: 476; yacc: 252; lex: 197; xml: 63; makefile: 50; sh: 8
file content (21 lines) | stat: -rw-r--r-- 515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python

import os
import sys

Import('*')
local_env = env.Clone()

if not local_env.GetOption('clean') and not env['TOOLCHAIN'] == 'msvc':
	if not env['USE_GTK3']:
		local_env.ParseConfig('pkg-config --cflags $GIO_PC')
        else:
		local_env.ParseConfig('pkg-config --cflags $GTK_PC')

if not env['BUILD_TARGET'] == 'win32':
	sources = local_env.Glob('*.c') + local_env.Glob('*.cpp')
else:
	sources = local_env.Glob('*.cpp')

objects = local_env.StaticObject(source = [sources])
Return('objects')