-
Notifications
You must be signed in to change notification settings - Fork 133
Adding Files to the Project
mlopez14 edited this page Apr 24, 2015
·
2 revisions
The easiest way to add a file to the project is to leverage the current Automake configuration.
To add file newFile.cpp
and the corresponding newInclude.h
file do the following:
-
Place
newInclude.h
in theinclude
folder -
Place
newFile.cpp
in thesrc
folder and make sure that thenewFile.cpp
file contains the statement
#include "../include/newInclude.h"
-
Open the file
Makefile.am
in theobj
folder -
In the list of source files add the line
../src/newFile.cpp \
after the line
___bin_HiFiLES_SOURCES = ../src/global.cpp \
and before
../src/HiFiLES.cpp
-
Go to the main HiFiLES directory and run
$ automake -a --foreign -i
-
To check that all went well, execute
$ ./configure_run.sh
followed by
$ make
- Home
- User Docs
- User Tutorials
- Meshing for HiFiLES
- [(2D) Flat Plate]
- [Laminar]
- [Turbulent]
- [Local Time-stepping]
- [(2D) Laminar Circular Cylinder]
- [(2D) NACA 0012, 5° AoA, Re = 60,000, M = 1.6]
- [(2D) SD7003 airfoil, 4° AoA, Re = 22,000]
- [(3D) Method of Manufactured Solutions]
- [(3D) SD7003 wing section, 4° AoA, Re = 10,000]
- (3D) Taylor-Green Vortex, Re = 1,600
- Developer Docs
- [Code Structure]
- Building and Running with Qt Creator
- Adding files to the project
- [License]
- [Contact]
- Release Notes