Changeset 57178daf in OpenModelica
- Timestamp:
- 2022-05-19T13:52:34+02:00 (2 years ago)
- Parents:
- ffc3407d
- git-author:
- Mahder Gebremedhin <mahder.geb@…> (05/19/22 13:33:24)
- git-committer:
- Mahder Gebremedhin <mahder.geb@…> (05/19/22 13:52:34)
- Location:
- OMCompiler/SimulationRuntime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OMCompiler/SimulationRuntime/c/cmake_3.14.cmake
rffc3407d r57178daf 50 50 target_link_libraries(OpenModelicaRuntimeC PUBLIC dbghelp) 51 51 target_link_libraries(OpenModelicaRuntimeC PUBLIC regex) 52 target_link_libraries(OpenModelicaRuntimeC PUBLIC wsock32)53 52 target_link_options(OpenModelicaRuntimeC PRIVATE -Wl,--export-all-symbols) 54 53 elseif(MSVC) … … 88 87 target_link_libraries(SimulationRuntimeC PUBLIC ${LAPACK_LIBRARIES}) 89 88 89 if(WIN32) 90 target_link_libraries(SimulationRuntimeC PUBLIC wsock32) 91 endif() 92 90 93 if(MINGW) 91 94 target_link_options(SimulationRuntimeC PRIVATE -Wl,--export-all-symbols) 92 95 elseif(MSVC) 93 target_link_libraries(SimulationRuntimeC PUBLIC wsock32)94 96 set_target_properties(SimulationRuntimeC PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS true) 95 97 endif(MINGW) -
OMCompiler/SimulationRuntime/cpp/Core/CMakeLists.txt
rd632ee4a r57178daf 8 8 set(Boost_LIBS_ ".") 9 9 set(LAPACK_LIBS_ ".") 10 set(LAPACK_LIBRARIES_ "")11 10 set(SYSTEM_CFLAGS ${SYSTEM_CFLAGS} "-DOMC_BUILD -fPIC -DUSE_THREAD") 11 if(UNIX) 12 set(LAPACK_LIBRARIES_ "-llapack -lblas") 13 else() 14 set(LAPACK_LIBRARIES_ "") 15 endif() 12 16 13 17 configure_file(Modelica/ModelicaLibraryConfig_gcc.inc.in ${CMAKE_CURRENT_BINARY_DIR}/ModelicaLibraryConfig_gcc.inc)
Note: See TracChangeset
for help on using the changeset viewer.