Skip to content

Commit a840bc9

Browse files
authored
Update COMPILING.txt
1 parent c618f75 commit a840bc9

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

IsoModel/COMPILING.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
The isomodel code uses CMake for compilation.
1+
The isomodel code uses CMake for compilation. Note that CMake creates a makefile,
2+
you will still need to run make.
23

34
OSX:
45

@@ -20,6 +21,18 @@ create separate directories for those.
2021
* X should be the root location of gtest. For example if its in /Users/nick/src/gtest-1.7.0/
2122
then -DGTEST_ROOT=/Users/nick/src/gtest-1.7.0/. CMake will look in that directory for both
2223
the gtest and gtest_main library and the headers.
24+
4. Run "make", from the command line (e.g)
25+
26+
iMac:Release nick$ cd /Users/nick/Documents/repos/ISOmodel/IsoModel/Release
27+
iMac:Release nick$ make
28+
[ 1%] Building CXX object CMakeFiles/isomodel_unit_tests.dir/Building.cpp.o
29+
[ 2%] Building CXX object CMakeFiles/isomodel_unit_tests.dir/Cooling.cpp.o
30+
[ 3%] Building CXX object CMakeFiles/isomodel_unit_tests.dir/EpwData.cpp.o
31+
[ 4%] Building CXX object CMakeFiles/isomodel_unit_tests.dir/Heating.cpp.o
32+
[ 5%] Building CXX object CMakeFiles/isomodel_unit_tests.dir/HourlyModel.cpp.o
33+
[ 6%] Building CXX object CMakeFiles/isomodel_unit_tests.dir/Lighting.cpp.o
34+
...
35+
2336

2437
If Boost is in some standard place
2538
such as /usr/local/include etc. then it should be found. If not you can specify where to find

0 commit comments

Comments
 (0)