more scons fixes for windows
This commit is contained in:
parent
22a6213000
commit
0159c2b5af
@ -285,10 +285,15 @@ if(GetOption('win')):
|
|||||||
envCopy.Append(CCFLAGS=['-mincoming-stack-boundary=2'])
|
envCopy.Append(CCFLAGS=['-mincoming-stack-boundary=2'])
|
||||||
sources+=envCopy.Object('src/simulation/Gravity.cpp')
|
sources+=envCopy.Object('src/simulation/Gravity.cpp')
|
||||||
|
|
||||||
env.Command(['generated/ElementClasses.cpp', 'generated/ElementClasses.h'], Glob('src/simulation/elements/*.cpp'), "python2 generator.py elements $TARGETS $SOURCES")
|
if(GetOption('lin')):
|
||||||
|
pythonVer = "python2"
|
||||||
|
else:
|
||||||
|
pythonVer = "python"
|
||||||
|
|
||||||
|
env.Command(['generated/ElementClasses.cpp', 'generated/ElementClasses.h'], Glob('src/simulation/elements/*.cpp'), pythonVer + " generator.py elements $TARGETS $SOURCES")
|
||||||
sources+=Glob("generated/ElementClasses.cpp")
|
sources+=Glob("generated/ElementClasses.cpp")
|
||||||
|
|
||||||
env.Command(['generated/ToolClasses.cpp', 'generated/ToolClasses.h'], Glob('src/simulation/tools/*.cpp'), "python2 generator.py tools $TARGETS $SOURCES")
|
env.Command(['generated/ToolClasses.cpp', 'generated/ToolClasses.h'], Glob('src/simulation/tools/*.cpp'), pythonVer + " generator.py tools $TARGETS $SOURCES")
|
||||||
sources+=Glob("generated/ToolClasses.cpp")
|
sources+=Glob("generated/ToolClasses.cpp")
|
||||||
|
|
||||||
env.Decider('MD5')
|
env.Decider('MD5')
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <typeinfo>
|
#include <typeinfo>
|
||||||
|
#include <time.h>
|
||||||
#include "ThumbnailBroker.h"
|
#include "ThumbnailBroker.h"
|
||||||
#include "ThumbnailListener.h"
|
#include "ThumbnailListener.h"
|
||||||
#include "Client.h"
|
#include "Client.h"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <time.h>
|
||||||
#include "SearchController.h"
|
#include "SearchController.h"
|
||||||
#include "SearchModel.h"
|
#include "SearchModel.h"
|
||||||
#include "SearchView.h"
|
#include "SearchView.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user