Skip to content

Commit

Permalink
Updated CMake files. Almost compiles now
Browse files Browse the repository at this point in the history
  • Loading branch information
MintoDA1 authored and MintoDA1 committed Sep 9, 2023
1 parent cbee67b commit a395db2
Show file tree
Hide file tree
Showing 19 changed files with 171 additions and 586 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Whitelist ignore file: Ignore everything that isn't explicitly included
*
!*/
bin/
build
!ctem/**
!examples/**
!src/**
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.6.0...3.27.1)

# Get version stored in text file
FILE(READ "version.txt" VERSION)
PROJECT(${SKBUILD_PROJECT_NAME} LANGUAGES C Fortran VERSION ${VERSION})
PROJECT(CTEM LANGUAGES C Fortran VERSION ${VERSION})

IF (CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
SET(COMPILER_OPTIONS "Intel" CACHE STRING "Compiler identified as Intel")
Expand Down Expand Up @@ -70,7 +70,7 @@ SET(CTEM_LIBRARY ctem)
# The source for the CTEM binary and have it placed in the bin folder
ADD_SUBDIRECTORY(${SRC} ${BIN})

ADD_SUBDIRECTORY(${PY})
#ADD_SUBDIRECTORY(${PY})

# Add a distclean target to the Makefile
ADD_CUSTOM_TARGET(distclean
Expand Down
3 changes: 0 additions & 3 deletions Makefile.am

This file was deleted.

117 changes: 0 additions & 117 deletions cmake/Modules/FindCoarray_Fortran.cmake

This file was deleted.

17 changes: 0 additions & 17 deletions cmake/Modules/FindMKL.cmake

This file was deleted.

207 changes: 0 additions & 207 deletions cmake/Modules/FindNETCDF.cmake

This file was deleted.

Loading

0 comments on commit a395db2

Please sign in to comment.