Changeset d6193163 in OpenModelica
- Timestamp:
- 2021-11-21T21:16:32+01:00 (2 years ago)
- Parents:
- 856c29ae
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
ra61de2e1 rd6193163 120 120 ## Subdirectories ########################################################################################## 121 121 omc_add_subdirectory(OMCompiler) 122 omc_add_subdirectory(OMParser EXCLUDE_FROM_ALL) 122 123 # omc_add_subdirectory(libraries) 123 124 include(omsimulator.cmake) -
OMParser/3rdParty/antlr4/runtime/Cpp/runtime/CMakeLists.txt
r4023d498 rd6193163 26 26 add_library(antlr4_shared SHARED ${libantlrcpp_SRC}) 27 27 add_library(antlr4_static STATIC ${libantlrcpp_SRC}) 28 29 # This are needed for transitive include dirs. Ideally all include dirs should be specified 30 # like this. For now, luckily, this folder provides all the 'public' headers needed when linking to this libs. 31 target_include_directories(antlr4_static PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src) 32 target_include_directories(antlr4_static PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src) 33 34 # Anything that links to the static lib should use the ANTLR4CPP_STATIC define as well. 35 target_compile_definitions(antlr4_static INTERFACE -DANTLR4CPP_STATIC) 28 36 29 37 set(LIB_OUTPUT_DIR "${CMAKE_HOME_DIRECTORY}/dist") # put generated libraries here.
Note: See TracChangeset
for help on using the changeset viewer.