Changeset e8d0d2d in OpenModelica
- Timestamp:
- 2022-06-30T20:22:09+02:00 (21 months ago)
- Branches:
- maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, master
- Children:
- 1cb99ba, 4aed892b
- Parents:
- 9ff426e4
- git-author:
- Mahder Gebremedhin <mahge@…> (06/30/22 20:22:09)
- git-committer:
- GitHub <noreply@…> (06/30/22 20:22:09)
- Location:
- OMCompiler/SimulationRuntime
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
OMCompiler/SimulationRuntime/ParModelica/auto/CMakeLists.txt
r12e1781 re8d0d2d 4 4 set(CMAKE_INSTALL_INCLUDEDIR ${CMAKE_INSTALL_INCLUDEDIR}/auto) 5 5 6 find_package(Boost REQUIRED COMPONENTS graph chrono)6 find_package(Boost COMPONENTS graph chrono REQUIRED) 7 7 8 8 set(PARMODAUTO_SOURCES om_pm_equation.cpp om_pm_interface.cpp om_pm_model.cpp pm_utility.cpp) … … 19 19 target_link_libraries(ParModelicaAuto PUBLIC omc::simrt::runtime) 20 20 target_link_libraries(ParModelicaAuto PUBLIC omc::3rd::tbb) 21 target_link_libraries(ParModelicaAuto PUBLIC Boost::graph) 22 21 23 target_compile_definitions(ParModelicaAuto PRIVATE USE_FLOW_SCHEDULER) 22 24 -
OMCompiler/SimulationRuntime/cpp/Core/CMakeLists.txt
r934e149 re8d0d2d 244 244 245 245 ##################################################################################################### 246 find_package(Boost COMPONENTS filesystem REQUIRED)247 248 246 # OMCppSimulationSettings 249 247 set(OMC_SIMRT_CPP_CORE_SIM_SETTINGS_SOURCES SimulationSettings/GlobalSettings.cpp -
OMCompiler/SimulationRuntime/cpp/SimCoreFactory/CMakeLists.txt
rd9b9ced9 re8d0d2d 3 3 ##################################################################################################### 4 4 # OMCppOMCFactory 5 find_package(Boost COMPONENTS program_options filesystem REQUIRED)6 find_package(Threads REQUIRED)7 8 9 5 set(OMC_SIMRT_CPP_SIMCOREFACTORY_OMCFACTORY_SOURCES OMCFactory/OMCFactory.cpp) 10 6 -
OMCompiler/SimulationRuntime/cpp/cmake_3.14.cmake
rd632ee4a re8d0d2d 2 2 project(SimRT_CPP) 3 3 4 add_definitions(-DOMC_BUILD)4 # add_definitions(-DOMC_BUILD) 5 5 6 6 # CPP libs should be installed to in lib/<arch>/omc/cpp/ for now. … … 12 12 13 13 14 # An interface library for providing common include directories for all the CPP libs. 14 # Boost and a threading library are required for the CPP-runtime. 15 find_package(Boost COMPONENTS program_options filesystem REQUIRED) 16 find_package(Threads REQUIRED) 17 18 19 # An interface library for providing common include directories and other settings 20 # for all the CPP-runtime libraries. 15 21 add_library(OMCppConfig INTERFACE) 16 22 add_library(omc::simrt::cpp::config ALIAS OMCppConfig) 17 23 24 # Make the current source directory, current binary directory (contains generated files), and 25 # the Include/ directory available to all libraries that link to OMCppConfig (which means all CPP-runtime libs) 18 26 target_include_directories(OMCppConfig INTERFACE ${CMAKE_CURRENT_BINARY_DIR}) 19 27 target_include_directories(OMCppConfig INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) 20 28 target_include_directories(OMCppConfig INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/Include) 29 30 # Make boost headers transitively available to all CPP-runtime libraries 31 # (note that they all link to 'OMCppConfig' a.k.a 'omc::simrt::cpp::config') 32 target_link_libraries(OMCppConfig INTERFACE Boost::boost) 33 34 # This should be defined for all CPP-runtime library compilations. 35 # Signifies that we are building the source code (instead of consuming, say the headers ...). 36 target_compile_definitions(OMCppConfig INTERFACE OMC_BUILD) 21 37 22 38
Note: See TracChangeset
for help on using the changeset viewer.