summaryrefslogtreecommitdiffstats
path: root/src/app/SConscript
blob: 3c35c32d85c215e5dbc6bd3c66f7f1873d712677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

############################
## load the config

## Use the environment and the tools set in the top-level
## SConstruct file (set with 'Export') - this is very important

Import( '*' )
myenv=env.Copy()

#############################
## the programs to build

# we put the stuff that could fail due to bad xine.h locations, etc. at the beginning
# so if the build fails the user knows quickly
app_sources = Split("""
	xineEngine.cpp
	xineConfig.cpp
	xineScope.c
	theStream.cpp
	videoWindow.cpp
	videoSettings.cpp
	captureFrame.cpp

        actions.cpp
        stateChange.cpp
	slider.cpp
	analyzer.cpp
	playDialog.cpp
	listView.cpp
	adjustSizeButton.cpp
	fullScreenAction.cpp
	insertAspectRatioMenuItems.cpp
	playlistFile.cpp
	volumeAction.cpp

        ../mxcl.library.cpp

        main.cpp
        mainWindow.cpp""")

KDEprogram( "codeine", app_sources, myenv )


############################
## Customization

## Additional include paths for compiling the source files
## Always add '../' (top-level directory) because moc makes code that needs it
KDEaddpaths( ['./', '../', '../../'], myenv )

## Necessary libraries to link against
KDEaddlibs( ['qt-mt', 'kio', 'kdecore', 'kdeui', 'xine', 'Xtst'], myenv )

## This shows how to add other link flags to the program
myenv['LINKFLAGS'].append('-L/usr/X11R6/lib')

## If you are using QThread, add this line
# myenv.AppendUnique( CPPFLAGS = ['-DQT_THREAD_SUPPORT'] )