# File: QSimLinkedToOpenSimAPI.pro # Purpose: Creates compiler files (e.g., makefile or .vcproj file). # ----------------------------------------------------------------------------- # QSim was developed with support from Simbios (NIH Center for Physics-Based # Simulation of Biological Structures at Stanford) under NIH Roadmap for # Medical Research grant U54 GM072970 and NCSRR (National Center for Simulation # in Rehabilitation Research) NIH research infrastructure grant R24 HD065690. # # To the extent possible under law, the author(s) and contributor(s) have # dedicated all copyright and related and neighboring rights to this software # to the public domain worldwide. This software is distributed without warranty. # # Authors: Paul Mitiguy (2011) # Contributors: Ayman Habib, Michael Sherman # # Permission is granted, free of charge, to any person obtaining a copy of this # software and associated documentation files (the "Software"), to deal in the # Software without restriction, including without limitation the rights to use, # copy, modify, merge, publish, distribute, sublicense, and/or sell copies of # the Software and to permit persons to whom the Software is furnished to do so. # # Include this sentence, the above public domain and permission notices, and the # following disclaimer in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR # IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # ----------------------------------------------------------------------------- # List of additional include and library paths for OpenSimAPI. # INCLUDEPATH - is the location of directory with .h header files # QMAKE_LIBDIR - is the location of directory with .a files (formerly LIBPATH) # LIBS - contains libraries you want to use in application # Note: LIBS are found along QMAKE_LIBDIR (formerly LIBPATH). # Note: Enclose names in paths in quotes if there are spaces, e.g., "/Program Files" #-------------------------------------------------------------------- INCLUDEPATH += /OpenSimToEndUser/sdk/include/ INCLUDEPATH += /OpenSimToEndUser/sdk/include/OpenSim/ INCLUDEPATH += /OpenSimToEndUser/sdk/include/SimTK/include/ QMAKE_LIBDIR += /OpenSimToEndUser/sdk/lib/ #-------------------------------------------------------------------- # Windows only commands here #-------------------------------------------------------------------- win32{ CONFIG( release, debug|release ){ LIBS += osimCommon.lib LIBS += osimSimulation.lib LIBS += osimAnalyses.lib LIBS += osimActuators.lib LIBS += osimTools.lib } CONFIG( debug, debug|release ){ LIBS += osimCommon_d.lib LIBS += osimSimulation_d.lib LIBS += osimAnalyses_d.lib LIBS += osimActuators_d.lib LIBS += osimTools_d.lib } #----------------------------------------------------------------- # Ensure .dlls are in the executable's folder (best) or listed on computer's # PATH environment variable, e.g. C:\OpenSimToEndUser\bin is on PATH. #----------------------------------------------------------------- } #-------------------------------------------------------------------- # MacOSx only commands here #-------------------------------------------------------------------- macx{ #----------------------------------------------------------------- # Ensure .so files are in the executable's folder (best) or listed on computer's # DYLD_LIBRARY_PATH environment variable, e.g. /OpenSimToEndUser/bin is on DYLD_LIBRARY_PATH #----------------------------------------------------------------- } #-------------------------------------------------------------------- # Linux only commands here #-------------------------------------------------------------------- unix:!macx{ #----------------------------------------------------------------- # Ensure .so files are in the executable's folder (best) or listed on computer's # LD_LIBRARY_PATH environment variable, e.g. /OpenSimToEndUser/bin is on LD_LIBRARY_PATH #----------------------------------------------------------------- }