Permalink
Browse files

initial commit

  • Loading branch information...
iongion committed Oct 5, 2012
0 parents commit ea8e01b292d17618eb8818415dfa1a95217d59b6
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_workspace_file>
+ <Workspace title="Workspace">
+ <Project filename="liblog/liblog.cbp" />
+ <Project filename="libamfext/libamfext.cbp" />
+ <Project filename="libamfexttests/libamfexttests.cbp" active="1">
+ <Depends filename="liblog/liblog.cbp" />
+ <Depends filename="libamfext/libamfext.cbp" />
+ </Project>
+ </Workspace>
+</CodeBlocks_workspace_file>
@@ -0,0 +1,70 @@
+import os, sys
+
+sources = Glob('*.c')
+
+env = Environment(
+ CCFLAGS = [
+ '-Wall',
+ '-O3',
+ '-I.',
+ '-I./common/include',
+ ],
+ CPPDEFINES = {
+ },
+ CPPPATH = [
+ ],
+ LIBPATH = [
+ './liblog',
+ './libamfext',
+ ],
+ LIBS = [
+ 'liblog',
+ 'libamfext',
+ ]
+)
+config = Configure(env)
+
+if env['PLATFORM'] == 'cygwin':
+ env.Append (
+ LINKFLAGS = [
+ '-Wl,-subsystem,windows',
+ '-static',
+ '-lmingw32',
+ ],
+ LIBS = [
+ 'libws2_32',
+ 'libwinmm',
+ 'libgdi32',
+ 'libwsock32',
+ ],
+ )
+
+if env ['PLATFORM'] == 'win32':
+ Tool('mingw')(env)
+ env.Append (
+ LINKFLAGS = [
+ '-Wl,-subsystem,windows',
+ '-static',
+ #'-lmingw32',
+ ],
+ LIBS = [
+ 'libws2_32',
+ 'libwinmm',
+ 'libgdi32',
+ 'libwsock32',
+ ],
+ )
+
+
+env = config.Finish()
+
+liblog = SConscript('liblog/SConscript')
+libamfext = SConscript('libamfext/SConscript')
+libamfexttests = SConscript('libamfexttests/SConscript')
+
+Depends( libamfext, liblog )
+Depends( libamfexttests, libamfext )
+
+AlwaysBuild( liblog )
+AlwaysBuild( libamfext )
+AlwaysBuild( libamfexttests )
Oops, something went wrong.

0 comments on commit ea8e01b

Please sign in to comment.