-
Notifications
You must be signed in to change notification settings - Fork 463
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from rafaelmudafort/feature/turbsim_cmake
adds cmake to turbsim; adds turbsim to openfast
- Loading branch information
Showing
3 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,6 +79,7 @@ set(FAST_MODULES_LOCAL | |
extptfm | ||
openfoam | ||
supercontroller | ||
turbsim | ||
fast-library | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# | ||
# Copyright 2016 National Renewable Energy Laboratory | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
set(MODULE_SOURCES | ||
src/BlankModVKM.f90 | ||
src/CohStructures.f90 | ||
src/Profiles.f90 | ||
src/RandNum.f90 | ||
src/Root_Searching.f90 | ||
src/TS_FileIO.f90 | ||
src/TSsubs.f90 | ||
src/TurbSim.f90 | ||
src/TurbSim_Types.f90 | ||
src/VelocitySpectra.f90 | ||
) | ||
|
||
add_library(turbsimlib ${MODULE_SOURCES}) | ||
target_link_libraries(turbsimlib nwtclibs) | ||
|
||
install(TARGETS turbsimlib | ||
EXPORT "${CMAKE_PROJECT_NAME}Libraries" | ||
RUNTIME DESTINATION bin | ||
LIBRARY DESTINATION lib | ||
ARCHIVE DESTINATION lib) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters