Skip to content

Commit ead420c

Browse files
committed
Read (ASCII & Binary) STLs and (some) OBJs
1 parent b97df60 commit ead420c

File tree

3 files changed

+441
-0
lines changed

3 files changed

+441
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,12 @@ function(MFC_SETUP_TARGET)
290290

291291
add_executable(${ARGS_TARGET} ${ARGS_SOURCES})
292292

293+
target_include_directories(${ARGS_TARGET} PRIVATE
294+
"${CMAKE_SOURCE_DIR}/src/common"
295+
"${CMAKE_SOURCE_DIR}/src/common/include"
296+
"${CMAKE_SOURCE_DIR}/src/${ARGS_TARGET}"
297+
"${CMAKE_SOURCE_DIR}/src/${ARGS_TARGET}/include")
298+
293299
string(TOUPPER "${ARGS_TARGET}" ARGS_TARGET_UPPER)
294300
target_compile_definitions(
295301
${ARGS_TARGET} PRIVATE MFC_${CMAKE_Fortran_COMPILER_ID}

src/common/include/macros.fpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@
2424
deallocate(${', '.join(args)}$)
2525
!$acc exit data delete(${', '.join(args)}$)
2626
#:enddef DEALLOCATE
27+
28+
#define t_vec3 real(kind(0d0)), dimension(1:3)
29+
#define t_mat4x4 real(kind(0d0)), dimension(1:4,1:4)

0 commit comments

Comments
 (0)