diff options
| author | Tannin <devnull@localhost> | 2015-03-27 18:24:37 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-03-27 18:24:37 +0100 |
| commit | 0d5197a3c886abfbda9ca3cbc08ddac127a4160c (patch) | |
| tree | 726e33399014845264454e8b09c4376be59e5b56 /src/shared | |
| parent | 8eb63a068ccae5dca755a5e6f0607ecacbddb4a2 (diff) | |
| parent | 39dd67f22f236d9f962657abe5b619f2b338f2fc (diff) | |
Merge in changes by Tom Tanner
Diffstat (limited to 'src/shared')
| -rw-r--r-- | src/shared/SConscript | 22 | ||||
| -rw-r--r-- | src/shared/shared.pro | 3 |
2 files changed, 25 insertions, 0 deletions
diff --git a/src/shared/SConscript b/src/shared/SConscript new file mode 100644 index 00000000..35c65d73 --- /dev/null +++ b/src/shared/SConscript @@ -0,0 +1,22 @@ +Import('qt_env')
+
+env = qt_env.Clone()
+
+env.EnableQtModules('Core', 'Gui')
+
+env.AppendUnique(CPPDEFINES = [
+ 'UNICODE',
+ '_UNICODE',
+ '_CRT_SECURE_NO_WARNINGS',
+ 'BOOST_DISABLE_ASSERTS',
+ 'NDEBUG'
+])
+
+env.AppendUnique(CPPPATH = [
+ '../bsatk',
+ '${BOOSTPATH}',
+ '.' # Seriously!
+])
+
+# Not sure if renaming this helps much as it's static
+env.StaticLibrary('mo_shared', env.Glob('*.cpp'))
diff --git a/src/shared/shared.pro b/src/shared/shared.pro index 1e26b7c0..646c2c3e 100644 --- a/src/shared/shared.pro +++ b/src/shared/shared.pro @@ -73,3 +73,6 @@ DEFINES += BOOST_DISABLE_ASSERTS NDEBUG # QMAKE_CXXFLAGS += /analyze
INCLUDEPATH += ../bsatk "$${BOOSTPATH}"
+
+OTHER_FILES += \
+ SConscript
|
