We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 23132ff + 98f52b2 commit 49fde97Copy full SHA for 49fde97
1 file changed
cmake/generate_fmu.cmake
@@ -178,7 +178,9 @@ function(generateFMU modelIdentifier)
178
179
set(VERSION_SOURCES ${VERSION_OBJECTS})
180
file(MAKE_DIRECTORY "${modelOutputDir}/sources")
181
+ file(COPY "${generatedSourcesDir}/fmu4cpp/lib_info.cpp" DESTINATION "${modelOutputDir}/sources/fmu4cpp/")
182
file(COPY ${_fmu4cpp_root}/export/src/fmu4cpp DESTINATION "${modelOutputDir}/sources/")
183
+ file(REMOVE_RECURSE "${modelOutputDir}/sources/fmu4cpp/fmi2") # remove fmi2 sources
184
file(COPY ${_fmu4cpp_root}/export/include/fmu4cpp DESTINATION "${modelOutputDir}/sources/")
185
foreach (s IN LISTS FMU_SOURCES VERSION_SOURCES)
186
if (NOT "${s}" MATCHES "^\\$<") # skip generator expressions
0 commit comments