https://github.com/ElmerCSC/elmerfem
Raw File
Tip revision: 18a1e1a93facf86800be664fd3fd4d27d8681173 authored by F. S. Farimani on 12 December 2023, 23:30:29 UTC
Resolved build issues in MSYS environment: Addressed various compilation and linking errors in ElmerFEM project. Modified CMakeLists to conditionally include POSIX dynamic linking functions and Windows equivalents, ensuring compatibility across different environments. Adjusted linker flags to exclude -ldl in MinGW, and set linker path explicitly for MSYS. Also implemented namespace changes to avoid std::min and std::max conflicts. These updates enhance cross-platform build stability, particularly for Windows and Unix-like systems within MSYS.
Tip revision: 18a1e1a
ElmerGUItester.pro
TEMPLATE = app
TARGET = ElmerGUItester
DEPENDPATH += . forms src
INCLUDEPATH += .

OBJECTS_DIR = tmp
UI_DIR = tmp
MOC_DIR = tmp
RCC_DIR = tmp

CONFIG += release

HEADERS += src/tester.h
FORMS += forms/mainform.ui
SOURCES += src/main.cpp src/tester.cpp

RESOURCES += ElmerGUItester.qrc
win32: RC_FILE = ElmerGUItester.rc
back to top