Bladeren bron

Add all header file to library

Eric Ramat 2 jaren geleden
bovenliggende
commit
d1edafb187

+ 2 - 0
src/artis-star/common/CMakeLists.txt

@@ -9,6 +9,8 @@ LINK_DIRECTORIES(
 SET(COMMON_HPP Coordinator.hpp GraphManager.hpp Links.hpp Model.hpp Node.hpp Parameters.hpp RootCoordinator.hpp
         Scheduler.hpp Simulator.hpp)
 
+ADD_SOURCES(artislib ${COMMON_HPP})
+
 INSTALL(FILES ${COMMON_HPP} DESTINATION ${ARTIS_INCLUDE_DIRS}/common)
 
 ADD_SUBDIRECTORY(context)

+ 2 - 0
src/artis-star/common/context/CMakeLists.txt

@@ -8,5 +8,7 @@ LINK_DIRECTORIES(
 
 SET(COMMON_CONTEXT_HPP Context.hpp State.hpp StateValues.hpp)
 
+ADD_SOURCES(artislib ${COMMON_CONTEXT_HPP})
+
 INSTALL(FILES ${COMMON_CONTEXT_HPP} DESTINATION
         ${ARTIS_INCLUDE_DIRS}/common/context)

+ 2 - 0
src/artis-star/common/observer/CMakeLists.txt

@@ -6,5 +6,7 @@ LINK_DIRECTORIES()
 SET(COMMON_OBSERVER_HPP DiscreteTimeIterator.hpp EventIterator.hpp Iterator.hpp Observer.hpp Output.hpp
         TimedIterator.hpp View.hpp)
 
+ADD_SOURCES(artislib ${COMMON_OBSERVER_HPP})
+
 INSTALL(FILES ${COMMON_OBSERVER_HPP} DESTINATION
         ${ARTIS_INCLUDE_DIRS}/common/observer)

+ 2 - 0
src/artis-star/common/scheduler/CMakeLists.txt

@@ -8,5 +8,7 @@ LINK_DIRECTORIES(
 
 SET(COMMON_SCHEDULER_HPP HeapScheduler.hpp SchedulerHandle.hpp VectorScheduler.hpp)
 
+ADD_SOURCES(artislib ${COMMON_SCHEDULER_HPP})
+
 INSTALL(FILES ${COMMON_SCHEDULER_HPP} DESTINATION
         ${ARTIS_INCLUDE_DIRS}/common/scheduler)

+ 2 - 0
src/artis-star/common/state/CMakeLists.txt

@@ -8,5 +8,7 @@ LINK_DIRECTORIES(
 
 SET(COMMON_STATE_HPP Any.hpp States.hpp)
 
+ADD_SOURCES(artislib ${COMMON_STATE_HPP})
+
 INSTALL(FILES ${COMMON_STATE_HPP} DESTINATION
         ${ARTIS_INCLUDE_DIRS}/common/state)

+ 2 - 0
src/artis-star/common/time/CMakeLists.txt

@@ -8,4 +8,6 @@ LINK_DIRECTORIES(
 
 SET(COMMON_TIME_HPP DoubleTime.hpp IntegerTime.hpp Limits.hpp RationalTime.hpp Time.hpp)
 
+ADD_SOURCES(artislib ${COMMON_TIME_HPP})
+
 INSTALL(FILES ${COMMON_TIME_HPP} DESTINATION ${ARTIS_INCLUDE_DIRS}/common/time)

+ 2 - 0
src/artis-star/common/utils/CMakeLists.txt

@@ -8,5 +8,7 @@ LINK_DIRECTORIES(
 
 SET(COMMON_UTILS_HPP FormalismType.hpp FunctionType.hpp LevelType.hpp Macro.hpp Multithreading.hpp String.hpp Trace.hpp)
 
+ADD_SOURCES(artislib ${COMMON_UTILS_HPP})
+
 INSTALL(FILES ${COMMON_UTILS_HPP} DESTINATION
         ${ARTIS_INCLUDE_DIRS}/common/utils)

+ 2 - 0
src/artis-star/kernel/devs/CMakeLists.txt

@@ -8,4 +8,6 @@ LINK_DIRECTORIES(
 
 SET(DEVS_HPP Coordinator.hpp Dynamics.hpp GraphManager.hpp Simulator.hpp)
 
+ADD_SOURCES(artislib ${DEVS_HPP})
+
 INSTALL(FILES ${DEVS_HPP} DESTINATION ${ARTIS_INCLUDE_DIRS}/kernel/devs)

+ 2 - 0
src/artis-star/kernel/dsde/CMakeLists.txt

@@ -8,4 +8,6 @@ LINK_DIRECTORIES(
 
 SET(DSDE_HPP Coordinator.hpp Executive.hpp GraphManager.hpp)
 
+ADD_SOURCES(artislib ${DSDE_HPP})
+
 INSTALL(FILES ${DSDE_HPP} DESTINATION ${ARTIS_INCLUDE_DIRS}/kernel/dsde)

+ 2 - 0
src/artis-star/kernel/dtss/CMakeLists.txt

@@ -8,4 +8,6 @@ LINK_DIRECTORIES(
 
 SET(DTSS_HPP Coordinator.hpp Dynamics.hpp GraphManager.hpp Policy.hpp Simulator.hpp)
 
+ADD_SOURCES(artislib ${DTSS_HPP})
+
 INSTALL(FILES ${DTSS_HPP} DESTINATION ${ARTIS_INCLUDE_DIRS}/kernel/dtss)

+ 2 - 0
src/artis-star/kernel/fddevs/CMakeLists.txt

@@ -8,4 +8,6 @@ LINK_DIRECTORIES(
 
 SET(FDDEVS_HPP Coordinator.hpp Dynamics.hpp GraphManager.hpp Simulator.hpp)
 
+ADD_SOURCES(artislib ${FDDEVS_HPP})
+
 INSTALL(FILES ${FDDEVS_HPP} DESTINATION ${ARTIS_INCLUDE_DIRS}/kernel/fddevs)

+ 2 - 0
src/artis-star/kernel/pdevs/CMakeLists.txt

@@ -8,6 +8,8 @@ LINK_DIRECTORIES(
 
 SET(PDEVS_HPP Context.hpp Coordinator.hpp Dynamics.hpp GraphManager.hpp Simulator.hpp)
 
+ADD_SOURCES(artislib ${PDEVS_HPP})
+
 INSTALL(FILES ${PDEVS_HPP} DESTINATION ${ARTIS_INCLUDE_DIRS}/kernel/pdevs)
 
 ADD_SUBDIRECTORY(multithreading)

+ 2 - 0
src/artis-star/kernel/pdevs/mpi/CMakeLists.txt

@@ -9,5 +9,7 @@ LINK_DIRECTORIES(
 SET(PDEVS_MPI_HPP Coordinator.hpp GraphManager.hpp LogicalProcessor.hpp
         ModelProxy.hpp)
 
+ADD_SOURCES(artislib ${PDEVS_MPI_HPP})
+
 INSTALL(FILES ${PDEVS_MPI_HPP} DESTINATION
         ${ARTIS_INCLUDE_DIRS}/kernel/pdevs/mpi)

+ 2 - 0
src/artis-star/kernel/pdevs/multithreading/CMakeLists.txt

@@ -8,5 +8,7 @@ LINK_DIRECTORIES(
 
 SET(PDEVS_MULTITHREADING_HPP Coordinator.hpp)
 
+ADD_SOURCES(artislib ${PDEVS_MULTITHREADING_HPP})
+
 INSTALL(FILES ${PDEVS_MULTITHREADING_HPP} DESTINATION
         ${ARTIS_INCLUDE_DIRS}/kernel/pdevs/multithreading)

+ 2 - 0
src/artis-star/kernel/qss/CMakeLists.txt

@@ -8,4 +8,6 @@ LINK_DIRECTORIES(
 
 SET(QSS_HPP Data.hpp Derivative.hpp Integrator.hpp MultiDerivative.hpp Quantifier.hpp)
 
+ADD_SOURCES(artislib ${QSS_HPP})
+
 INSTALL(FILES ${QSS_HPP} DESTINATION ${ARTIS_INCLUDE_DIRS}/kernel/qss)

+ 2 - 0
src/artis-star/kernel/sss/CMakeLists.txt

@@ -8,4 +8,6 @@ LINK_DIRECTORIES(
 
 SET(SSS_HPP Context.hpp Coordinator.hpp Dynamics.hpp GraphManager.hpp Model.hpp Simulator.hpp)
 
+ADD_SOURCES(artislib ${SSS_HPP})
+
 INSTALL(FILES ${SSS_HPP} DESTINATION ${ARTIS_INCLUDE_DIRS}/kernel/sss)