mirror of
https://github.com/nasa/trick.git
synced 2025-02-05 02:19:20 +00:00
Splitting CMakeLists up.
This commit is contained in:
parent
d1c9a889a9
commit
d808bbd578
1371
CMakeLists.txt
1371
CMakeLists.txt
File diff suppressed because it is too large
Load Diff
48
trick_source/codegen/Interface_Code_Gen/CMakeLists.txt
Normal file
48
trick_source/codegen/Interface_Code_Gen/CMakeLists.txt
Normal file
@ -0,0 +1,48 @@
|
||||
|
||||
set ( ICG_SRC
|
||||
ClassTemplateVisitor
|
||||
ClassValues
|
||||
ClassVisitor
|
||||
CommentSaver
|
||||
ConstructValues
|
||||
EnumValues
|
||||
EnumVisitor
|
||||
FieldDescription
|
||||
FieldVisitor
|
||||
FindTrickICG
|
||||
HeaderSearchDirs
|
||||
ICGASTConsumer
|
||||
PrintAttributes
|
||||
PrintFileContents10
|
||||
PrintFileContentsBase
|
||||
TranslationUnitVisitor
|
||||
TypedefVisitor
|
||||
Utilities
|
||||
VariableVisitor
|
||||
main
|
||||
../../sim_services/UdUnits/map_trick_units_to_udunits
|
||||
)
|
||||
|
||||
add_executable( trick-ICG ${ICG_SRC} )
|
||||
target_compile_options( trick-ICG PUBLIC -g -DTRICK_VERSION="${TRICK_MAJOR}.${TRICK_MINOR}.${TRICK_TINY}" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS)
|
||||
target_compile_options( trick-ICG PUBLIC -DLIBCLANG_MAJOR=${LLVM_VERSION_MAJOR} -DLIBCLANG_MINOR=${LLVM_VERSION_MINOR})
|
||||
target_include_directories( trick-ICG PUBLIC ${UDUNITS2_INCLUDES} )
|
||||
target_include_directories( trick-ICG PUBLIC ${LLVM_INCLUDE_DIR} )
|
||||
set_property(SOURCE trick-ICG APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_BINARY_DIR}/include/mongoose/mongoose.h)
|
||||
|
||||
target_link_libraries( trick-ICG
|
||||
${LLVM_LDFLAGS}
|
||||
${LLVM_LIBRARIES}
|
||||
-lclangFrontend
|
||||
-lclangDriver
|
||||
-lclangSerialization
|
||||
-lclangParse
|
||||
-lclangSema
|
||||
-lclangAnalysis
|
||||
-lclangEdit
|
||||
-lclangAST
|
||||
-lclangLex
|
||||
-lclangBasic
|
||||
${UDUNITS2_LIBRARIES}
|
||||
)
|
||||
|
72
trick_source/er7_utils/CMakeLists.txt
Normal file
72
trick_source/er7_utils/CMakeLists.txt
Normal file
@ -0,0 +1,72 @@
|
||||
|
||||
set( ER7_UTILS_SRC
|
||||
integration/abm4/src/abm4_first_order_ode_integrator
|
||||
integration/abm4/src/abm4_integrator_constructor
|
||||
integration/abm4/src/abm4_second_order_ode_integrator
|
||||
integration/beeman/src/beeman_integrator_constructor
|
||||
integration/beeman/src/beeman_second_order_ode_integrator
|
||||
integration/core/src/base_integration_group
|
||||
integration/core/src/bogus_integration_controls
|
||||
integration/core/src/first_order_ode_integrator
|
||||
integration/core/src/integration_controls
|
||||
integration/core/src/integration_messages
|
||||
integration/core/src/integrator_constructor
|
||||
integration/core/src/integrator_constructor_factory
|
||||
integration/core/src/integrator_result_merger
|
||||
integration/core/src/integrator_result_merger_container
|
||||
integration/core/src/left_quaternion_functions
|
||||
integration/core/src/priming_first_order_ode_integrator
|
||||
integration/core/src/priming_integration_controls
|
||||
integration/core/src/priming_integrator_constructor
|
||||
integration/core/src/priming_second_order_ode_integrator
|
||||
integration/core/src/second_order_ode_integrator
|
||||
integration/core/src/single_cycle_integration_controls
|
||||
integration/core/src/standard_integration_controls
|
||||
integration/euler/src/euler_first_order_ode_integrator
|
||||
integration/euler/src/euler_integrator_constructor
|
||||
integration/euler/src/euler_second_order_ode_integrator
|
||||
integration/mm4/src/mm4_integrator_constructor
|
||||
integration/mm4/src/mm4_second_order_ode_integrator
|
||||
integration/nl2/src/nl2_integrator_constructor
|
||||
integration/nl2/src/nl2_second_order_ode_integrator
|
||||
integration/position_verlet/src/position_verlet_integrator_constructor
|
||||
integration/position_verlet/src/position_verlet_second_order_ode_integrator
|
||||
integration/rk2_heun/src/rk2_heun_first_order_ode_integrator
|
||||
integration/rk2_heun/src/rk2_heun_integrator_constructor
|
||||
integration/rk2_heun/src/rk2_heun_second_order_ode_integrator
|
||||
integration/rk2_midpoint/src/rk2_midpoint_first_order_ode_integrator
|
||||
integration/rk2_midpoint/src/rk2_midpoint_integrator_constructor
|
||||
integration/rk2_midpoint/src/rk2_midpoint_second_order_ode_integrator
|
||||
integration/rk4/src/rk4_first_order_ode_integrator
|
||||
integration/rk4/src/rk4_integrator_constructor
|
||||
integration/rk4/src/rk4_second_order_ode_integrator
|
||||
integration/rk4/src/rk4_second_order_ode_integrator_base
|
||||
integration/rkf45/src/rkf45_butcher_tableau
|
||||
integration/rkf45/src/rkf45_first_order_ode_integrator
|
||||
integration/rkf45/src/rkf45_integrator_constructor
|
||||
integration/rkf45/src/rkf45_second_order_ode_integrator
|
||||
integration/rkf78/src/rkf78_butcher_tableau
|
||||
integration/rkf78/src/rkf78_first_order_ode_integrator
|
||||
integration/rkf78/src/rkf78_integrator_constructor
|
||||
integration/rkf78/src/rkf78_second_order_ode_integrator
|
||||
integration/rkg4/src/rkg4_butcher_tableau
|
||||
integration/rkg4/src/rkg4_first_order_ode_integrator
|
||||
integration/rkg4/src/rkg4_integrator_constructor
|
||||
integration/rkg4/src/rkg4_second_order_ode_integrator
|
||||
integration/rkn4/src/rkn4_integrator_constructor
|
||||
integration/rkn4/src/rkn4_second_order_ode_integrator
|
||||
integration/symplectic_euler/src/symplectic_euler_integrator_constructor
|
||||
integration/symplectic_euler/src/symplectic_euler_second_order_ode_integrator
|
||||
integration/velocity_verlet/src/velocity_verlet_integrator_constructor
|
||||
integration/velocity_verlet/src/velocity_verlet_second_order_ode_integrator
|
||||
interface/src/alloc
|
||||
interface/src/deletable
|
||||
interface/src/message_handler
|
||||
math/src/n_choose_m
|
||||
math/src/ratio128
|
||||
math/src/uint128
|
||||
trick/integration/src/trick_integrator
|
||||
)
|
||||
|
||||
add_library( er7_utils_objs OBJECT ${ER7_UTILS_SRC} )
|
||||
|
408
trick_source/java/src/CMakeLists.txt
Normal file
408
trick_source/java/src/CMakeLists.txt
Normal file
@ -0,0 +1,408 @@
|
||||
|
||||
###############################################################
|
||||
# External Java libraries
|
||||
###############################################################
|
||||
|
||||
set( JAVA_LIBS
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/bsaf-1.9.2.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jcommon-1.0.23.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jfreechart-1.0.19.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jfreesvg-2.1.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jopt-simple-4.8.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/junit-4.12.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/swingx-1.6.1.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/hamcrest-core-1.3.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/pdfbox-2.0.11.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/fontbox-2.0.11.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/commons-logging-1.2.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jaxb-runtime-2.4.0-b180830.0438.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jaxb-xjc-2.4.0-b180830.0438.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jaxb-jxc-2.4.0-b180830.0438.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jaxb-impl-2.4.0-b180830.0438.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jaxb-api-2.4.0-b180725.0427.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jaxb-core-2.3.0.1.jar
|
||||
${CMAKE_BINARY_DIR}/libexec/trick/java/lib/javax.activation-1.2.0.jar
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/bsaf-1.9.2.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/org/jdesktop/bsaf/bsaf/1.9.2/bsaf-1.9.2.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jcommon-1.0.23.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/org/jfree/jcommon/1.0.23/jcommon-1.0.23.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jfreechart-1.0.19.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/org/jfree/jfreechart/1.0.19/jfreechart-1.0.19.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jfreesvg-2.1.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/org/jfree/jfreesvg/2.1/jfreesvg-2.1.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jopt-simple-4.8.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/net/sf/jopt-simple/jopt-simple/4.8/jopt-simple-4.8.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/junit-4.12.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo1.maven.org/maven2/junit/junit/4.12/junit-4.12.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/swingx-1.6.1.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/org/swinglabs/swingx/1.6.1/swingx-1.6.1.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/hamcrest-core-1.3.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/pdfbox-2.0.11.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/org/apache/pdfbox/pdfbox/2.0.11/pdfbox-2.0.11.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/fontbox-2.0.11.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/org/apache/pdfbox/fontbox/2.0.11/fontbox-2.0.11.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/commons-logging-1.2.jar
|
||||
COMMAND curl --retry 4 -O -s -S https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jaxb-runtime-2.4.0-b180830.0438.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-runtime/2.4.0-b180830.0438/jaxb-runtime-2.4.0-b180830.0438.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jaxb-xjc-2.4.0-b180830.0438.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-xjc/2.4.0-b180830.0438/jaxb-xjc-2.4.0-b180830.0438.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jaxb-jxc-2.4.0-b180830.0438.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-jxc/2.4.0-b180830.0438/jaxb-jxc-2.4.0-b180830.0438.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jaxb-impl-2.4.0-b180830.0438.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-impl/2.4.0-b180830.0438/jaxb-impl-2.4.0-b180830.0438.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jaxb-api-2.4.0-b180725.0427.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-core/2.3.0.1/jaxb-core-2.3.0.1.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/jaxb-core-2.3.0.1.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/javax/xml/bind/jaxb-api/2.4.0-b180725.0427/jaxb-api-2.4.0-b180725.0427.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libexec/trick/java/lib/javax.activation-1.2.0.jar
|
||||
COMMAND curl --retry 4 -O -s -S http://repo.maven.apache.org/maven2/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.jar
|
||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/libexec/trick/java/lib
|
||||
)
|
||||
|
||||
###############################################################
|
||||
# Trick Java libraries
|
||||
###############################################################
|
||||
|
||||
set( JAVA_SRC
|
||||
trick/common/ui/components/CommonTreeNode.java
|
||||
trick/common/ui/components/DoubleJSlider.java
|
||||
trick/common/ui/components/NumberTextField.java
|
||||
trick/common/ui/components/FontChooser.java
|
||||
trick/common/ui/panels/AnimationPlayer.java
|
||||
trick/common/ui/panels/ConnectionStatusBar.java
|
||||
trick/common/ui/panels/DataPanel.java
|
||||
trick/common/ui/panels/DynamicTree.java
|
||||
trick/common/ui/panels/FindBar.java
|
||||
trick/common/ui/panels/ListPanel.java
|
||||
trick/common/ui/panels/SmallTrickIconLabel.java
|
||||
trick/common/ui/TrickFileFilter.java
|
||||
trick/common/ui/UIUtils.java
|
||||
trick/common/utils/vs/VSBoolean.java
|
||||
trick/common/utils/vs/VSByte.java
|
||||
trick/common/utils/vs/VSDouble.java
|
||||
trick/common/utils/vs/VSFloat.java
|
||||
trick/common/utils/vs/VSInteger.java
|
||||
trick/common/utils/vs/VSLong.java
|
||||
trick/common/utils/vs/VSShort.java
|
||||
trick/common/utils/vs/VSString.java
|
||||
trick/common/utils/vs/VSValue.java
|
||||
trick/common/utils/vs/Variable.java
|
||||
trick/common/utils/vs/VariableListener.java
|
||||
trick/common/utils/vs/VariableServerFluent.java
|
||||
trick/common/utils/vs/VariableTracker.java
|
||||
trick/common/utils/BinaryDataReader.java
|
||||
trick/common/utils/CSVDataReader.java
|
||||
trick/common/utils/ErrorChecker.java
|
||||
trick/common/utils/LogHeaderReader.java
|
||||
trick/common/utils/LogVar.java
|
||||
trick/common/utils/SortedListModel.java
|
||||
trick/common/utils/TrickColors.java
|
||||
trick/common/utils/UnitInfixExpression.java
|
||||
trick/common/utils/UnitType.java
|
||||
trick/common/utils/VariableServerConnection.java
|
||||
trick/common/utils/XMLCreator.java
|
||||
trick/common/utils/DataReader.java
|
||||
trick/common/RunTimeTrickApplication.java
|
||||
trick/common/TrickApplication.java
|
||||
trick/dataproducts/plot/utils/editor/DefaultLogAxisEditor.java
|
||||
trick/dataproducts/plot/utils/editor/TrickAxisEditor.java
|
||||
trick/dataproducts/plot/utils/editor/TrickChartEditor.java
|
||||
trick/dataproducts/plot/utils/editor/TrickChartEditorFactory.java
|
||||
trick/dataproducts/plot/utils/editor/TrickChartEditorManager.java
|
||||
trick/dataproducts/plot/utils/editor/TrickNumberAxisEditor.java
|
||||
trick/dataproducts/plot/utils/editor/TrickPlotEditor.java
|
||||
trick/dataproducts/plot/utils/editor/TrickPolarPlotEditor.java
|
||||
trick/dataproducts/plot/utils/editor/TrickTitleEditor.java
|
||||
trick/dataproducts/plot/utils/editor/TrickValueAxisEditor.java
|
||||
trick/dataproducts/plot/utils/PlotUtils.java
|
||||
trick/dataproducts/plot/utils/TrickChart.java
|
||||
trick/dataproducts/plot/utils/TrickChartControlPanel.java
|
||||
trick/dataproducts/plot/utils/TrickChartPanel.java
|
||||
trick/dataproducts/plot/utils/TrickChartTheme.java
|
||||
trick/dataproducts/plot/utils/TrickFrame.java
|
||||
trick/dataproducts/plot/utils/TrickTableFrame.java
|
||||
trick/dataproducts/plot/utils/TrickXYLineAndShapeRenderer.java
|
||||
trick/dataproducts/plot/utils/TrickXYSeries.java
|
||||
trick/dataproducts/plot/utils/TrickChartFrame.java
|
||||
trick/dataproducts/plot/utils/TrickXYPlot.java
|
||||
trick/dataproducts/plot/JXPlotApplication.java
|
||||
trick/dataproducts/trickdp/utils/DPRemoteCallInterface.java
|
||||
trick/dataproducts/trickdp/utils/DPRemoteCallInterfaceImpl.java
|
||||
trick/dataproducts/trickdp/utils/PDFBooklet.java
|
||||
trick/dataproducts/trickdp/utils/TrickDPActionController.java
|
||||
trick/dataproducts/trickdp/TrickDPApplication.java
|
||||
trick/dataproducts/trickqp/utils/DataTransferHandler.java
|
||||
trick/dataproducts/trickqp/utils/Product.java
|
||||
trick/dataproducts/trickqp/utils/ProductAxis.java
|
||||
trick/dataproducts/trickqp/utils/ProductCurve.java
|
||||
trick/dataproducts/trickqp/utils/ProductDataPanel.java
|
||||
trick/dataproducts/trickqp/utils/ProductDomParser.java
|
||||
trick/dataproducts/trickqp/utils/ProductExternalFunction.java
|
||||
trick/dataproducts/trickqp/utils/ProductTable.java
|
||||
trick/dataproducts/trickqp/utils/ProductTree.java
|
||||
trick/dataproducts/trickqp/utils/ProductVarcase.java
|
||||
trick/dataproducts/trickqp/utils/QPRemoteCallInterface.java
|
||||
trick/dataproducts/trickqp/utils/QPRemoteCallInterfaceImpl.java
|
||||
trick/dataproducts/trickqp/utils/VarListPanel.java
|
||||
trick/dataproducts/trickqp/utils/CommonProduct.java
|
||||
trick/dataproducts/trickqp/utils/ProductPage.java
|
||||
trick/dataproducts/trickqp/utils/ProductPlot.java
|
||||
trick/dataproducts/trickqp/utils/ProductColumn.java
|
||||
trick/dataproducts/trickqp/utils/ProductMeasurement.java
|
||||
trick/dataproducts/trickqp/utils/ProductVar.java
|
||||
trick/dataproducts/trickqp/utils/ProductXMLCreator.java
|
||||
trick/dataproducts/trickqp/utils/TrickQPActionController.java
|
||||
trick/dataproducts/trickqp/TrickQPApplication.java
|
||||
trick/dataproducts/utils/FileTreeNode.java
|
||||
trick/dataproducts/utils/FileTreePanel.java
|
||||
trick/dataproducts/utils/Session.java
|
||||
trick/dataproducts/utils/SessionDomParser.java
|
||||
trick/dataproducts/utils/SessionRun.java
|
||||
trick/dataproducts/utils/SessionRunTransferHandler.java
|
||||
trick/dataproducts/utils/SessionXMLCreator.java
|
||||
trick/dataproducts/utils/SimDPTree.java
|
||||
trick/dataproducts/utils/SimRunDPTree.java
|
||||
trick/dataproducts/utils/SimRunTree.java
|
||||
trick/dataproducts/DataProductsApplication.java
|
||||
trick/dre/DreApplication.java
|
||||
trick/montemonitor/MonteMonitorApplication.java
|
||||
trick/montemonitor/Slave.java
|
||||
trick/mtv/MtvApp.java
|
||||
trick/mtv/MtvView.java
|
||||
trick/sie/utils/SearchListener.java
|
||||
trick/sie/utils/SearchPanel.java
|
||||
trick/sie/utils/Searcher.java
|
||||
trick/sie/utils/SieResourceDomParser.java
|
||||
trick/sie/utils/SieTemplate.java
|
||||
trick/sie/utils/SieTree.java
|
||||
trick/sie/utils/SieTreeModel.java
|
||||
trick/sie/utils/SieVariableTree.java
|
||||
trick/sie/utils/TreeModelExclusionFilter.java
|
||||
trick/sie/utils/TreeModelFilter.java
|
||||
trick/sie/utils/TreeModelSortingFilter.java
|
||||
trick/sie/utils/VariableList.java
|
||||
trick/sie/utils/SieEnumeration.java
|
||||
trick/sie/SieApplication.java
|
||||
trick/simcontrol/utils/SimControlActionController.java
|
||||
trick/simcontrol/utils/SimState.java
|
||||
trick/simcontrol/SimControlApplication.java
|
||||
trick/sniffer/SimSnifferApplication.java
|
||||
trick/sniffer/SimulationInformation.java
|
||||
trick/sniffer/SimulationListener.java
|
||||
trick/sniffer/SimulationSniffer.java
|
||||
trick/test/Client.java
|
||||
trick/tv/StripChart.java
|
||||
trick/tv/TVApplication.java
|
||||
trick/tv/TVBean.java
|
||||
trick/tv/TVBoolean.java
|
||||
trick/tv/TVDouble.java
|
||||
trick/tv/TVEnumeration.java
|
||||
trick/tv/TVFloat.java
|
||||
trick/tv/TVString.java
|
||||
trick/tv/TVVariableTree.java
|
||||
trick/tv/TrickViewFluent.java
|
||||
trick/tv/VariableTable.java
|
||||
trick/tv/DoubleComboBox.java
|
||||
trick/tv/StripChartManager.java
|
||||
trick/tv/TVByte.java
|
||||
trick/tv/TVLong.java
|
||||
trick/tv/TVShort.java
|
||||
trick/tv/TVInteger.java
|
||||
trick/vc/VariableCounter.java
|
||||
trick/Template.java
|
||||
)
|
||||
|
||||
set( JAVA_RESOURCES
|
||||
trick/common/resources/RunTimeTrickApplication.properties
|
||||
trick/common/resources/TrickApplication.properties
|
||||
trick/common/resources/filenew.gif
|
||||
trick/common/resources/fileopen.gif
|
||||
trick/common/resources/filesave.gif
|
||||
trick/common/resources/firefox_folder_closed.gif
|
||||
trick/common/resources/firefox_folder_open.gif
|
||||
trick/common/resources/gnome-fs-regular.gif
|
||||
trick/common/resources/page2.gif
|
||||
trick/common/resources/plot.gif
|
||||
trick/common/resources/program.gif
|
||||
trick/common/resources/program_in.gif
|
||||
trick/common/resources/program_out.gif
|
||||
trick/common/resources/table_small.gif
|
||||
trick/common/resources/toplevel.gif
|
||||
trick/common/resources/trick.gif
|
||||
trick/common/resources/trick_icon.png
|
||||
trick/common/resources/trick_small.gif
|
||||
trick/common/resources/variable.gif
|
||||
trick/common/resources/x_variable.gif
|
||||
trick/common/resources/y_variable.gif
|
||||
trick/dataproducts/plot/resources/JXPlotApplication.properties
|
||||
trick/dataproducts/resources/DataProductsApplication.properties
|
||||
trick/dataproducts/resources/gnuplot_off.gif
|
||||
trick/dataproducts/resources/gnuplot_on.gif
|
||||
trick/dataproducts/resources/plot_contrast.gif
|
||||
trick/dataproducts/resources/plot_coplot.gif
|
||||
trick/dataproducts/resources/plot_error.gif
|
||||
trick/dataproducts/resources/plot_single.gif
|
||||
trick/dataproducts/resources/table_callback1.gif
|
||||
trick/dataproducts/resources/table_error_callback.gif
|
||||
trick/dataproducts/trickdp/resources/TrickDPApplication.properties
|
||||
trick/dataproducts/trickdp/resources/adobe_pdf.gif
|
||||
trick/dataproducts/trickdp/resources/help/Help.hs
|
||||
trick/dataproducts/trickdp/resources/help/HelpTOC.xml
|
||||
trick/dataproducts/trickdp/resources/help/JavaHelpSearch/DOCS
|
||||
trick/dataproducts/trickdp/resources/help/JavaHelpSearch/DOCS.TAB
|
||||
trick/dataproducts/trickdp/resources/help/JavaHelpSearch/OFFSETS
|
||||
trick/dataproducts/trickdp/resources/help/JavaHelpSearch/POSITIONS
|
||||
trick/dataproducts/trickdp/resources/help/JavaHelpSearch/SCHEMA
|
||||
trick/dataproducts/trickdp/resources/help/JavaHelpSearch/TMAP
|
||||
trick/dataproducts/trickdp/resources/help/Map.jhm
|
||||
trick/dataproducts/trickdp/resources/help/html/faq.html
|
||||
trick/dataproducts/trickdp/resources/help/html/generalusage.html
|
||||
trick/dataproducts/trickdp/resources/help/html/howtoorganize.html
|
||||
trick/dataproducts/trickdp/resources/help/html/importingdata.html
|
||||
trick/dataproducts/trickdp/resources/help/html/intro.html
|
||||
trick/dataproducts/trickdp/resources/help/html/quickplot.html
|
||||
trick/dataproducts/trickdp/resources/help/html/usinggnuplot.html
|
||||
trick/dataproducts/trickdp/resources/ps_coplot.gif
|
||||
trick/dataproducts/trickdp/resources/ps_error.gif
|
||||
trick/dataproducts/trickdp/resources/ps_single.gif
|
||||
trick/dataproducts/trickdp/resources/quickplot.gif
|
||||
trick/dataproducts/trickqp/resources/TrickQPApplication.properties
|
||||
trick/dataproducts/trickqp/resources/function.gif
|
||||
trick/dataproducts/trickqp/resources/help/Help.hs
|
||||
trick/dataproducts/trickqp/resources/help/HelpTOC.xml
|
||||
trick/dataproducts/trickqp/resources/help/JavaHelpSearch/DOCS
|
||||
trick/dataproducts/trickqp/resources/help/JavaHelpSearch/DOCS.TAB
|
||||
trick/dataproducts/trickqp/resources/help/JavaHelpSearch/OFFSETS
|
||||
trick/dataproducts/trickqp/resources/help/JavaHelpSearch/POSITIONS
|
||||
trick/dataproducts/trickqp/resources/help/JavaHelpSearch/SCHEMA
|
||||
trick/dataproducts/trickqp/resources/help/JavaHelpSearch/TMAP
|
||||
trick/dataproducts/trickqp/resources/help/Map.jhm
|
||||
trick/dataproducts/trickqp/resources/help/html/anatomyofaplot.html
|
||||
trick/dataproducts/trickqp/resources/help/html/general.html
|
||||
trick/dataproducts/trickqp/resources/help/html/guilayout.html
|
||||
trick/dataproducts/trickqp/resources/help/html/intro.html
|
||||
trick/dataproducts/trickqp/resources/help/html/leftovers.html
|
||||
trick/dataproducts/trickqp/resources/help/html/minitutorial.html
|
||||
trick/dre/resources/DreApplication.properties
|
||||
trick/montemonitor/resources/MonteMonitorApplication.properties
|
||||
trick/montemonitor/resources/dice.gif
|
||||
trick/montemonitor/resources/disconnected.png
|
||||
trick/montemonitor/resources/finished.png
|
||||
trick/montemonitor/resources/initializing.png
|
||||
trick/montemonitor/resources/killed.png
|
||||
trick/montemonitor/resources/ready.png
|
||||
trick/montemonitor/resources/running.png
|
||||
trick/montemonitor/resources/stopped.png
|
||||
trick/montemonitor/resources/stopping.png
|
||||
trick/montemonitor/resources/uninitialized.png
|
||||
trick/montemonitor/resources/unknown.png
|
||||
trick/montemonitor/resources/unresponsive-running.png
|
||||
trick/montemonitor/resources/unresponsive-stopping.png
|
||||
trick/montemonitor/resources/unresponsive.png
|
||||
trick/mtv/resources/MtvAboutBox.properties
|
||||
trick/mtv/resources/MtvApp.properties
|
||||
trick/mtv/resources/MtvView.properties
|
||||
trick/mtv/resources/busyicons/busy-icon0.png
|
||||
trick/mtv/resources/busyicons/busy-icon1.png
|
||||
trick/mtv/resources/busyicons/busy-icon10.png
|
||||
trick/mtv/resources/busyicons/busy-icon11.png
|
||||
trick/mtv/resources/busyicons/busy-icon12.png
|
||||
trick/mtv/resources/busyicons/busy-icon13.png
|
||||
trick/mtv/resources/busyicons/busy-icon14.png
|
||||
trick/mtv/resources/busyicons/busy-icon2.png
|
||||
trick/mtv/resources/busyicons/busy-icon3.png
|
||||
trick/mtv/resources/busyicons/busy-icon4.png
|
||||
trick/mtv/resources/busyicons/busy-icon5.png
|
||||
trick/mtv/resources/busyicons/busy-icon6.png
|
||||
trick/mtv/resources/busyicons/busy-icon7.png
|
||||
trick/mtv/resources/busyicons/busy-icon8.png
|
||||
trick/mtv/resources/busyicons/busy-icon9.png
|
||||
trick/mtv/resources/busyicons/idle-icon.png
|
||||
trick/mtv/resources/delete_22x22.gif
|
||||
trick/mtv/resources/fileopen.gif
|
||||
trick/mtv/resources/filesave.gif
|
||||
trick/mtv/resources/trick4.gif
|
||||
trick/mtv/resources/trick_icon.png
|
||||
trick/sie/resources/SieApplication.properties
|
||||
trick/simcontrol/resources/SimControlApplication.properties
|
||||
trick/simcontrol/resources/mtv_22x22.png
|
||||
trick/simcontrol/resources/throttle_22x22.png
|
||||
trick/simcontrol/resources/tv_22x22.png
|
||||
trick/sniffer/resources/SimSnifferApplication.properties
|
||||
trick/sniffer/resources/nose.gif
|
||||
trick/tv/jaxb.index
|
||||
trick/tv/resources/CP.gif
|
||||
trick/tv/resources/TVApplication.properties
|
||||
trick/tv/resources/delete_22x22.gif
|
||||
trick/tv/resources/fileimport.gif
|
||||
trick/tv/resources/kmplot.gif
|
||||
trick/tv/resources/trickView.xsd
|
||||
trick/tv/resources/tv.xsd
|
||||
trick/tv/resources/tv_32x32.gif
|
||||
trick/tv/resources/tv_off.png
|
||||
trick/tv/resources/tv_on.png
|
||||
)
|
||||
|
||||
add_jar( trick_jar
|
||||
SOURCES ${JAVA_SRC} ${JAVA_RESOURCES}
|
||||
INCLUDE_JARS ${JAVA_LIBS}
|
||||
OUTPUT_NAME trick
|
||||
OUTPUT_DIR ${CMAKE_BINARY_DIR}/libexec/trick/java/dist
|
||||
)
|
||||
|
||||
file(COPY trick/common/resources/trick_icon.png DESTINATION ${CMAKE_BINARY_DIR}/libexec/trick/java/resources)
|
246
trick_source/sim_services/CMakeLists.txt
Normal file
246
trick_source/sim_services/CMakeLists.txt
Normal file
@ -0,0 +1,246 @@
|
||||
|
||||
# Sim services C/C++ files
|
||||
set( SS_SRC
|
||||
CheckPointAgent/CheckPointAgent
|
||||
CheckPointAgent/ChkPtParseContext
|
||||
CheckPointAgent/ClassicCheckPointerAgent
|
||||
CheckPointAgent/PythonPrint
|
||||
CheckPointRestart/CheckPointRestart
|
||||
CheckPointRestart/CheckPointRestart_c_intf
|
||||
CheckPointRestart/next_attr_name
|
||||
CheckPointRestart/stl_type_name_convert
|
||||
Clock/BC635Clock
|
||||
Clock/Clock
|
||||
Clock/GetTimeOfDayClock
|
||||
Clock/TPROCTEClock
|
||||
Clock/clock_c_intf
|
||||
Collect/collect
|
||||
CommandLineArguments/CommandLineArguments
|
||||
CommandLineArguments/command_line_c_intf
|
||||
DMTCP/DMTCP
|
||||
DMTCP/dmtcp_checkpoint_c_intf
|
||||
DataRecord/DRAscii
|
||||
DataRecord/DRBinary
|
||||
DataRecord/DRHDF5
|
||||
DataRecord/DataRecordDispatcher
|
||||
DataRecord/DataRecordGroup
|
||||
DataRecord/data_record_utilities
|
||||
DebugPause/DebugPause
|
||||
DebugPause/DebugPause_c_intf
|
||||
EchoJobs/EchoJobs
|
||||
EchoJobs/EchoJobs_c_intf
|
||||
Environment/Environment
|
||||
Environment/Environment_c_intf
|
||||
EventManager/EventInstrument
|
||||
EventManager/EventManager
|
||||
EventManager/EventManager_c_intf
|
||||
EventManager/EventProcessor
|
||||
Executive/Executive
|
||||
Executive/ExecutiveException
|
||||
Executive/Executive_add_depends_on_job
|
||||
Executive/Executive_add_jobs_to_queue
|
||||
Executive/Executive_add_scheduled_job_class
|
||||
Executive/Executive_add_sim_object
|
||||
Executive/Executive_advance_sim_time
|
||||
Executive/Executive_c_intf
|
||||
Executive/Executive_call_default_data
|
||||
Executive/Executive_call_initialization
|
||||
Executive/Executive_call_input_processor
|
||||
Executive/Executive_check_all_job_cycle_times
|
||||
Executive/Executive_check_all_jobs_handled
|
||||
Executive/Executive_checkpoint
|
||||
Executive/Executive_clear_scheduled_queues
|
||||
Executive/Executive_create_threads
|
||||
Executive/Executive_fpe_handler
|
||||
Executive/Executive_freeze
|
||||
Executive/Executive_freeze_loop
|
||||
Executive/Executive_get_curr_job
|
||||
Executive/Executive_get_job
|
||||
Executive/Executive_get_job_cycle
|
||||
Executive/Executive_get_process_id
|
||||
Executive/Executive_get_sim_time
|
||||
Executive/Executive_init
|
||||
Executive/Executive_init_freeze_scheduled
|
||||
Executive/Executive_init_signal_handlers
|
||||
Executive/Executive_instrument_job
|
||||
Executive/Executive_isThreadReadyToRun
|
||||
Executive/Executive_loop
|
||||
Executive/Executive_loop_multi_thread
|
||||
Executive/Executive_loop_single_thread
|
||||
Executive/Executive_post_checkpoint
|
||||
Executive/Executive_process_sim_args
|
||||
Executive/Executive_register_scheduler
|
||||
Executive/Executive_remove_jobs
|
||||
Executive/Executive_remove_sim_object
|
||||
Executive/Executive_restart
|
||||
Executive/Executive_run
|
||||
Executive/Executive_scheduled_thread_sync
|
||||
Executive/Executive_set_job_cycle
|
||||
Executive/Executive_set_job_onoff
|
||||
Executive/Executive_set_simobject_onoff
|
||||
Executive/Executive_set_thread_amf_cycle_time
|
||||
Executive/Executive_set_thread_async_wait
|
||||
Executive/Executive_set_thread_cpu_affinity
|
||||
Executive/Executive_set_thread_enabled
|
||||
Executive/Executive_set_thread_priority
|
||||
Executive/Executive_set_thread_process_type
|
||||
Executive/Executive_set_thread_rt_semaphore
|
||||
Executive/Executive_set_time_tic_value
|
||||
Executive/Executive_shutdown
|
||||
Executive/Executive_signal_handler
|
||||
Executive/Executive_stop
|
||||
Executive/Executive_terminate
|
||||
Executive/Executive_thread_sync
|
||||
Executive/Executive_write_s_job_execution
|
||||
Executive/Executive_write_s_run_summary
|
||||
Executive/ThreadTrigger
|
||||
Executive/Threads
|
||||
Executive/Threads_child
|
||||
Executive/Threads_set_amf_cycle_tics
|
||||
Executive/Threads_set_async_wait
|
||||
Executive/Threads_set_process_type
|
||||
Executive/child_handler
|
||||
Executive/fpe_handler
|
||||
Executive/sig_hand
|
||||
ExternalApplications/ExternalApplication
|
||||
ExternalApplications/ExternalApplicationManager
|
||||
ExternalApplications/ExternalApplication_c_intf
|
||||
ExternalApplications/MalfunctionsTrickView
|
||||
ExternalApplications/MonteMonitor
|
||||
ExternalApplications/SimControlPanel
|
||||
ExternalApplications/StripChart
|
||||
ExternalApplications/TrickView
|
||||
FrameLog/FrameDataRecordGroup
|
||||
FrameLog/FrameLog
|
||||
FrameLog/FrameLog_c_intf
|
||||
Integrator/src/IntegLoopManager
|
||||
Integrator/src/IntegLoopScheduler
|
||||
Integrator/src/IntegLoopSimObject
|
||||
Integrator/src/Integrator
|
||||
Integrator/src/Integrator_C_Intf
|
||||
Integrator/src/getIntegrator
|
||||
Integrator/src/regula_falsi
|
||||
Integrator/src/reset_regula_falsi
|
||||
JITInputFile/JITEvent
|
||||
JITInputFile/JITInputFile
|
||||
JITInputFile/jit_input_file_c_intf
|
||||
JSONVariableServer/JSONVariableServer
|
||||
JSONVariableServer/JSONVariableServerThread
|
||||
MasterSlave/MSSharedMem
|
||||
MasterSlave/MSSocket
|
||||
MasterSlave/Master
|
||||
MasterSlave/Slave
|
||||
Message/MessageCout
|
||||
Message/MessageFile
|
||||
Message/MessageLCout
|
||||
Message/MessagePublisher
|
||||
Message/MessageSubscriber
|
||||
Message/MessageTCDevice
|
||||
Message/MessageThreadedCout
|
||||
Message/Message_c_intf
|
||||
Message/PlaybackFile
|
||||
Message/message_publish_standalone
|
||||
MonteCarlo/MonteCarlo
|
||||
MonteCarlo/MonteCarlo_c_intf
|
||||
MonteCarlo/MonteCarlo_dispatch_run_to_slave
|
||||
MonteCarlo/MonteCarlo_dryrun
|
||||
MonteCarlo/MonteCarlo_execute_monte
|
||||
MonteCarlo/MonteCarlo_funcs
|
||||
MonteCarlo/MonteCarlo_initialize_sockets
|
||||
MonteCarlo/MonteCarlo_master
|
||||
MonteCarlo/MonteCarlo_master_file_io
|
||||
MonteCarlo/MonteCarlo_master_init
|
||||
MonteCarlo/MonteCarlo_master_shutdown
|
||||
MonteCarlo/MonteCarlo_receive_results
|
||||
MonteCarlo/MonteCarlo_run_queue
|
||||
MonteCarlo/MonteCarlo_slave
|
||||
MonteCarlo/MonteCarlo_slave_funcs
|
||||
MonteCarlo/MonteCarlo_slave_init
|
||||
MonteCarlo/MonteCarlo_slave_process_run
|
||||
MonteCarlo/MonteCarlo_spawn_slaves
|
||||
MonteCarlo/MonteVarCalculated
|
||||
MonteCarlo/MonteVarFile
|
||||
MonteCarlo/MonteVarFixed
|
||||
MonteCarlo/MonteVarRandom
|
||||
MonteCarlo/StlRandomGenerator
|
||||
RealtimeInjector/RtiEvent
|
||||
RealtimeInjector/RtiExec
|
||||
RealtimeInjector/RtiList
|
||||
RealtimeInjector/RtiStager
|
||||
RealtimeSync/RealtimeSync
|
||||
RealtimeSync/RealtimeSync_c_intf
|
||||
ScheduledJobQueue/ScheduledJobQueue
|
||||
ScheduledJobQueue/ScheduledJobQueueInstrument
|
||||
Scheduler/Scheduler
|
||||
Sie/AttributesMap
|
||||
Sie/EnumAttributesMap
|
||||
Sie/Sie
|
||||
Sie/sie_c_intf
|
||||
SimObject/JobData
|
||||
SimObject/SimObject
|
||||
SimTime/SimTime
|
||||
SimTime/SimTime_c_intf
|
||||
ThreadBase/ThreadBase
|
||||
Timer/ITimer
|
||||
Timer/Timer
|
||||
Timer/it_handler
|
||||
UdUnits/UdUnits
|
||||
UdUnits/map_trick_units_to_udunits
|
||||
UnitTest/UnitTest
|
||||
UnitTest/UnitTest_c_intf
|
||||
UnitsMap/UnitsMap
|
||||
VariableServer/VariableReference
|
||||
VariableServer/VariableServer
|
||||
VariableServer/VariableServerListenThread
|
||||
VariableServer/VariableServerThread
|
||||
VariableServer/VariableServerThread_commands
|
||||
VariableServer/VariableServerThread_connect
|
||||
VariableServer/VariableServerThread_copy_data
|
||||
VariableServer/VariableServerThread_copy_sim_data
|
||||
VariableServer/VariableServerThread_create_socket
|
||||
VariableServer/VariableServerThread_freeze_init
|
||||
VariableServer/VariableServerThread_loop
|
||||
VariableServer/VariableServerThread_restart
|
||||
VariableServer/VariableServerThread_write_data
|
||||
VariableServer/VariableServerThread_write_stdio
|
||||
VariableServer/VariableServer_copy_data_freeze
|
||||
VariableServer/VariableServer_copy_data_freeze_scheduled
|
||||
VariableServer/VariableServer_copy_data_scheduled
|
||||
VariableServer/VariableServer_copy_data_top
|
||||
VariableServer/VariableServer_default_data
|
||||
VariableServer/VariableServer_freeze_init
|
||||
VariableServer/VariableServer_get_next_freeze_call_time
|
||||
VariableServer/VariableServer_get_next_sync_call_time
|
||||
VariableServer/VariableServer_get_var_server_port
|
||||
VariableServer/VariableServer_init
|
||||
VariableServer/VariableServer_restart
|
||||
VariableServer/VariableServer_shutdown
|
||||
VariableServer/exit_var_thread
|
||||
VariableServer/var_server_ext
|
||||
VariableServer/vs_format_ascii
|
||||
Zeroconf/Zeroconf
|
||||
mains/master
|
||||
)
|
||||
|
||||
# Sim services Lex/Yacc files
|
||||
set( SS_LEX_YACC_SRC
|
||||
${CMAKE_BINARY_DIR}/temp_src/lex_yacc/input_parser.lex
|
||||
${CMAKE_BINARY_DIR}/temp_src/lex_yacc/input_parser.tab
|
||||
)
|
||||
|
||||
add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/input_parser.lex.cpp
|
||||
COMMAND ${FLEX_EXECUTABLE} -d -o ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/input_parser.lex.cpp ${CMAKE_CURRENT_SOURCE_DIR}/CheckPointAgent/input_parser.l
|
||||
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/CheckPointAgent/input_parser.l
|
||||
)
|
||||
add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/input_parser.tab.cpp ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/input_parser.tab.hpp
|
||||
COMMAND ${BISON_EXECUTABLE} -d -o ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/input_parser.tab.cpp ${CMAKE_CURRENT_SOURCE_DIR}/CheckPointAgent/input_parser.y
|
||||
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/CheckPointAgent/input_parser.y
|
||||
)
|
||||
|
||||
add_library( sim_services_objs OBJECT ${SS_SRC} ${SS_LEX_YACC_SRC})
|
||||
target_include_directories( sim_services_objs PUBLIC ${PYTHON_INCLUDE_DIRS} )
|
||||
target_include_directories( sim_services_objs PUBLIC ${UDUNITS2_INCLUDES} )
|
||||
|
||||
add_subdirectory(MemoryManager)
|
||||
add_subdirectory(InputProcessor)
|
||||
|
13
trick_source/sim_services/InputProcessor/CMakeLists.txt
Normal file
13
trick_source/sim_services/InputProcessor/CMakeLists.txt
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
set( INPUT_PROCESSOR_SRC
|
||||
IPPython
|
||||
IPPythonEvent
|
||||
InputProcessor
|
||||
MTV
|
||||
MTV_c_intf
|
||||
input_processor_ext
|
||||
)
|
||||
|
||||
add_library( input_processor_objs OBJECT ${INPUT_PROCESSOR_SRC})
|
||||
target_include_directories( input_processor_objs PUBLIC ${PYTHON_INCLUDE_DIRS} )
|
||||
|
81
trick_source/sim_services/MemoryManager/CMakeLists.txt
Normal file
81
trick_source/sim_services/MemoryManager/CMakeLists.txt
Normal file
@ -0,0 +1,81 @@
|
||||
set( TRICK_MM_SRC
|
||||
ADefParseContext
|
||||
MemoryManager
|
||||
MemoryManager_C_Intf
|
||||
MemoryManager_JSON_Intf
|
||||
MemoryManager_add_attr_info
|
||||
MemoryManager_add_checkpoint_alloc_dependency
|
||||
MemoryManager_add_shared_library_symbols
|
||||
MemoryManager_add_template_name_trans
|
||||
MemoryManager_add_var
|
||||
MemoryManager_alloc_depends
|
||||
MemoryManager_alloc_info_map
|
||||
MemoryManager_clear_memory
|
||||
MemoryManager_declare_var
|
||||
MemoryManager_delete_var
|
||||
MemoryManager_get_enumerated
|
||||
MemoryManager_get_size
|
||||
MemoryManager_get_stl_dependencies
|
||||
MemoryManager_get_type_attributes
|
||||
MemoryManager_io_src_intf
|
||||
MemoryManager_is_alloced
|
||||
MemoryManager_make_declaration
|
||||
MemoryManager_make_reference_attr
|
||||
MemoryManager_map_external_object
|
||||
MemoryManager_realloc
|
||||
MemoryManager_ref_allocate
|
||||
MemoryManager_ref_assignment
|
||||
MemoryManager_ref_attributes
|
||||
MemoryManager_ref_dim
|
||||
MemoryManager_ref_name
|
||||
MemoryManager_ref_name_from_address
|
||||
MemoryManager_ref_var
|
||||
MemoryManager_restore
|
||||
MemoryManager_restore_stls
|
||||
MemoryManager_set_checkpointagent
|
||||
MemoryManager_set_debug_level
|
||||
MemoryManager_strdup
|
||||
MemoryManager_write_checkpoint
|
||||
MemoryManager_write_var
|
||||
RefParseContext
|
||||
addr_bitfield
|
||||
extract_bitfield
|
||||
extract_unsigned_bitfield
|
||||
follow_address_path
|
||||
insert_bitfield
|
||||
parameter_types
|
||||
ref_free
|
||||
ref_to_value
|
||||
trickTypeCharString
|
||||
vval
|
||||
wcs_ext
|
||||
)
|
||||
|
||||
# Sim services Lex/Yacc files
|
||||
set( MM_LEX_YACC_SRC
|
||||
${CMAKE_BINARY_DIR}/temp_src/lex_yacc/adef_parser.lex
|
||||
${CMAKE_BINARY_DIR}/temp_src/lex_yacc/adef_parser.tab
|
||||
${CMAKE_BINARY_DIR}/temp_src/lex_yacc/ref_parser.lex
|
||||
${CMAKE_BINARY_DIR}/temp_src/lex_yacc/ref_parser.tab
|
||||
)
|
||||
|
||||
add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/adef_parser.lex.cpp
|
||||
COMMAND ${FLEX_EXECUTABLE} -d -o ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/adef_parser.lex.cpp ${CMAKE_CURRENT_SOURCE_DIR}/adef_parser.l
|
||||
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/adef_parser.l
|
||||
)
|
||||
add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/adef_parser.tab.cpp ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/adef_parser.tab.hpp
|
||||
COMMAND ${BISON_EXECUTABLE} -d -o ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/adef_parser.tab.cpp ${CMAKE_CURRENT_SOURCE_DIR}/adef_parser.y
|
||||
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/adef_parser.y
|
||||
)
|
||||
add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/ref_parser.lex.cpp
|
||||
COMMAND ${FLEX_EXECUTABLE} -d -o ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/ref_parser.lex.cpp ${CMAKE_CURRENT_SOURCE_DIR}/ref_parser.l
|
||||
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/ref_parser.l
|
||||
)
|
||||
add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/ref_parser.tab.cpp ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/ref_parser.tab.hpp
|
||||
COMMAND ${BISON_EXECUTABLE} -d -o ${CMAKE_BINARY_DIR}/temp_src/lex_yacc/ref_parser.tab.cpp ${CMAKE_CURRENT_SOURCE_DIR}/ref_parser.y
|
||||
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/ref_parser.y
|
||||
)
|
||||
|
||||
add_library( trick_mm STATIC ${TRICK_MM_SRC} ${MM_LEX_YACC_SRC})
|
||||
target_include_directories( trick_mm PUBLIC ${UDUNITS2_INCLUDES} )
|
||||
|
28
trick_source/trick_utils/CMakeLists.txt
Normal file
28
trick_source/trick_utils/CMakeLists.txt
Normal file
@ -0,0 +1,28 @@
|
||||
|
||||
|
||||
# Trick utils files that are not in their own library
|
||||
set( TRICK_UTILS_SRC
|
||||
interpolator/src/Interpolator.cpp
|
||||
shm/src/tsm_disconnect
|
||||
shm/src/tsm_init
|
||||
shm/src/tsm_init_with_lock
|
||||
shm/src/tsm_reconnect
|
||||
trick_adt/src/MapStrToPtr
|
||||
trick_adt/src/bst
|
||||
trick_adt/src/bubble_sort
|
||||
trick_adt/src/dllist
|
||||
trick_adt/src/lqueue
|
||||
trick_adt/src/lstack
|
||||
trick_adt/src/record_array
|
||||
unicode/src/unicode_utils
|
||||
)
|
||||
add_library( trick_utils_objs OBJECT ${TRICK_UTILS_SRC} )
|
||||
|
||||
###############################################################
|
||||
# Other Trick libraries
|
||||
###############################################################
|
||||
|
||||
add_subdirectory(comm)
|
||||
add_subdirectory(math)
|
||||
add_subdirectory(units)
|
||||
|
31
trick_source/trick_utils/comm/CMakeLists.txt
Normal file
31
trick_source/trick_utils/comm/CMakeLists.txt
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
set( TRICKCOMM_SRC
|
||||
src/tc_accept
|
||||
src/tc_blockio
|
||||
src/tc_broadcast_conninfo
|
||||
src/tc_clock_init
|
||||
src/tc_clock_time
|
||||
src/tc_connect
|
||||
src/tc_dev_copy
|
||||
src/tc_disconnect
|
||||
src/tc_error
|
||||
src/tc_init
|
||||
src/tc_init_mcast_client
|
||||
src/tc_init_mcast_server
|
||||
src/tc_init_udp_client
|
||||
src/tc_init_udp_server
|
||||
src/tc_isValid
|
||||
src/tc_listen
|
||||
src/tc_multiconnect
|
||||
src/tc_pending
|
||||
src/tc_read
|
||||
src/tc_read_byteswap
|
||||
src/tc_set_blockio
|
||||
src/tc_write
|
||||
src/tc_write_byteswap
|
||||
src/trick_bswap_buffer
|
||||
src/trick_byteswap
|
||||
src/trick_error_hndlr
|
||||
)
|
||||
|
||||
add_library( trick_comm STATIC ${TRICKCOMM_SRC})
|
92
trick_source/trick_utils/math/CMakeLists.txt
Normal file
92
trick_source/trick_utils/math/CMakeLists.txt
Normal file
@ -0,0 +1,92 @@
|
||||
|
||||
set( TRICKMATH_SRC
|
||||
src/LUD_inv
|
||||
src/LUT_inv
|
||||
src/LU_bksb
|
||||
src/LU_dcmp
|
||||
src/RodriguesRotation
|
||||
src/dLU_Choleski
|
||||
src/dLU_solver
|
||||
src/dS_function
|
||||
src/deuler_123
|
||||
src/deuler_123_quat
|
||||
src/deuler_132
|
||||
src/deuler_132_quat
|
||||
src/deuler_213
|
||||
src/deuler_213_quat
|
||||
src/deuler_231
|
||||
src/deuler_231_quat
|
||||
src/deuler_312
|
||||
src/deuler_312_quat
|
||||
src/deuler_321
|
||||
src/deuler_321_quat
|
||||
src/dm_add
|
||||
src/dm_copy
|
||||
src/dm_ident
|
||||
src/dm_init
|
||||
src/dm_invert
|
||||
src/dm_invert_symm
|
||||
src/dm_orthonormal
|
||||
src/dm_print
|
||||
src/dm_scale
|
||||
src/dm_sub
|
||||
src/dm_trans
|
||||
src/dmtxm
|
||||
src/dmtxmt
|
||||
src/dmtxv
|
||||
src/dmxm
|
||||
src/dmxmt
|
||||
src/dmxv
|
||||
src/drandom_gaussian
|
||||
src/dsingle_axis_rot
|
||||
src/dv_add
|
||||
src/dv_copy
|
||||
src/dv_cross
|
||||
src/dv_dot
|
||||
src/dv_init
|
||||
src/dv_mag
|
||||
src/dv_norm
|
||||
src/dv_print
|
||||
src/dv_scale
|
||||
src/dv_skew
|
||||
src/dv_store
|
||||
src/dv_sub
|
||||
src/dvxm
|
||||
src/dvxv_add
|
||||
src/dvxv_sub
|
||||
src/eigen_hh_red
|
||||
src/eigen_jacobi
|
||||
src/eigen_jacobi_4
|
||||
src/eigen_ql
|
||||
src/euler_matrix
|
||||
src/euler_quat
|
||||
src/gauss_rnd_bell
|
||||
src/gauss_rnd_pseudo
|
||||
src/mat_copy
|
||||
src/mat_permute
|
||||
src/mat_print
|
||||
src/mat_to_quat
|
||||
src/mat_trans
|
||||
src/matxmat
|
||||
src/matxtrans
|
||||
src/matxvec
|
||||
src/quat_mult
|
||||
src/quat_norm
|
||||
src/quat_norm_integ
|
||||
src/quat_to_mat
|
||||
src/rand_num
|
||||
src/roundoff
|
||||
src/tm_print_error
|
||||
src/transxmat
|
||||
src/transxtrans
|
||||
src/transxvec
|
||||
src/trick_gsl_rand
|
||||
src/trns_fnct_1o
|
||||
src/trns_fnct_2o
|
||||
src/uniform_rnd_1
|
||||
src/uniform_rnd_triple
|
||||
src/vec_print
|
||||
src/wave_form
|
||||
)
|
||||
|
||||
add_library( trick_math STATIC ${TRICKMATH_SRC})
|
9
trick_source/trick_utils/units/CMakeLists.txt
Normal file
9
trick_source/trick_utils/units/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
set( TRICK_UNITS_SRC
|
||||
src/UCFn.cpp
|
||||
src/Unit.cpp
|
||||
src/units_conv
|
||||
)
|
||||
|
||||
add_library( trick_units STATIC ${TRICK_UNITS_SRC})
|
||||
|
Loading…
x
Reference in New Issue
Block a user