Ray Speth
674701b0c2
[Samples] Fix include path for compiling C++ samples with 'scons samples'
2019-06-25 22:30:59 -04:00
Bryan W. Weber
142f533229
Correct flag and libs for OpenMP on macOS
...
Apple's clang on macOS requires the libomp to link. Apple symlinks gcc
to clang, so it can't be detected as clang by executable name
2019-06-17 10:29:20 -04:00
Bryan W. Weber
3588be16f3
CMake use Accelerate even if OpenMP is also used
...
For samples, make sure that OpenMP and Accelerate are not exclusive
options on macOS
2019-06-17 10:29:20 -04:00
Bryan W. Weber
007ecf0c7c
Include boost_inc_dir when building the samples
2019-06-17 10:29:20 -04:00
Bryan W. Weber
9a5c2708e5
Replace the compiler variables during conda build
...
The build compilers should not be specified into the sample templates
2019-06-13 14:36:54 -04:00
Bryan W. Weber
265032da8f
Remove build-system specific env vars on macOS
...
The isysroot and mmacosx-min-version flags are needed to build the
Cantera library, but not to actually use it on macOS. They should be
removed because users don't need these and should use the SDK installed
with XCode.
2019-06-13 14:36:54 -04:00
Bryan W. Weber
4026c17915
Add /usr/local/include to cmake incdirs
...
By default, CMake uses the system SDK on macOS as the system root by
setting the isysroot flag to clang. This setting removes /usr/local from
the include search path.
2019-03-15 14:44:43 -04:00
Bryan W. Weber
cb008a95d7
Add the Accelerate framework to the CMake builds of the samples
2019-03-15 14:44:43 -04:00
Ray Speth
dc09040274
[Samples] Fix compilation of Blasius BVP sample with 'scons samples'
2019-02-04 16:38:40 -05:00
Ray Speth
600580ead4
[Samples] Install build scripts for Blasius BVP example
2018-11-11 22:17:20 -05:00
Ray Speth
78d5809d6f
[Samples] Add C++ OpenMP example
2017-01-28 15:07:15 -05:00
Ray Speth
f959fa67c9
[Samples/Doc] Generate CMakeLists.txt files for C++ and F90 samples
2016-10-28 23:39:33 -04:00
Ray Speth
bc609ce2da
[SCons] Fix Makefiles generated for C++ examples
...
- Use CXXFLAGS to pass flags to C++ compiler (not CCFLAGS)
- Set CXXFLAGS based on flags that Cantera was compiled with (which will include
things like -pthread and -std=c++0x as necessary
- Remove incorrect / unused target for the target binary
- Add the generated binary to things remove by 'make clean'
2016-07-22 13:09:54 -04:00
Ray Speth
8b62a59403
[SCons] Generate SConstruct and Makefile for LiC6 electrode example
2016-04-06 22:16:48 -04:00
Ray Speth
0a3927a077
[SCons] SConstruct for C++ demos inherits compiler and options
...
Use the same values for the compiler name and the compiler flags as were used
when compiling Cantera.
2016-04-06 22:07:51 -04:00
Ray Speth
f9375e1a09
Use locks/mutexes from the standard library instead of Boost.Thread
...
This eliminates the need to link against any of the compiled Boost libraries,
and means that we can always build in thread-safe mode
2015-10-17 18:58:50 -04:00
Ray Speth
3944dda878
Fix path to Cantera.mak in sample Fortran Makefiles
...
Use relative path if the Cantera install directory contains spaces, as the
Makefile 'include' statement doesn't seem to have a way to escape the space
otherwise.
2014-04-28 18:18:10 +00:00
Ray Speth
736fccf7ef
SCons-generated SConstruct files specify Visual Studio version
2013-06-05 03:08:48 +00:00
Ray Speth
c7ff7dd1cf
[SCons] Fixed path to Cantera.mak in sample Makefiles
...
Fixes Issue 144.
2013-03-04 17:31:11 +00:00
Ray Speth
d78ec19e4c
Fixed issues with library and include paths in sample SConstruct scripts
2012-08-13 20:14:18 +00:00
Ray Speth
c77539e577
Fixed generated SConstruct files to work with MSVC
...
cherry-pick of r1634 from 2.0 maintenance branch
2012-08-13 20:14:04 +00:00
Ray Speth
9966a24a3f
Fixed library specifications in installed SConstruct scripts for samples
...
cherry-pick of r1632 from 2.0 maintenance branch
2012-08-13 20:13:56 +00:00
Ray Speth
3be53356a2
Updated sample build scripts to include pthread where necessary
2012-03-09 22:59:50 +00:00
Ray Speth
8150f49c2c
Simplified adding SCons build and install targets
2012-03-05 20:45:20 +00:00
Ray Speth
a3b1946871
Generate SConstruct files and Makefiles in the build directory
2012-03-05 20:45:09 +00:00
Ray Speth
c3398e7a3e
Added example SConstruct files to install with F77/F90 sample programs
2012-03-01 16:56:29 +00:00
Ray Speth
6924e9f69f
Added example SConstruct files to install with C++ sample programs
2012-03-01 00:45:03 +00:00
Ray Speth
45fe098d51
Added example Makefiles to install with C++ sample programs
2012-03-01 00:44:56 +00:00
Ray Speth
4f600c048e
Fixed compilation of the C++ and Fortran sample programs
2012-02-15 18:06:55 +00:00
Ray Speth
8239c18091
Fixed some installation issues with samples and the Python module
2012-02-13 17:24:09 +00:00
Ray Speth
eb2cab5f2b
Updates to SCons scripts to support the new directory structure
2012-02-12 02:46:40 +00:00