another directory rename: failstar -> fail
"failstar" sounds like a name for a cruise liner from the 80s. As "*" isn't a desirable part of directory names, just name the whole thing "fail/", the core parts being stored in "fail/core/". Additionally fixing two build system dependency issues: - missing jobserver -> protomessages dependency - broken bochs -> fail dependency (add_custom_target DEPENDS only allows plain file dependencies ... cmake for the win) git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@956 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
53
ovp/CMakeLists.txt
Normal file
53
ovp/CMakeLists.txt
Normal file
@ -0,0 +1,53 @@
|
||||
|
||||
|
||||
# PreDefined environment variables (setupImperas)
|
||||
# IMPERAS_HOME
|
||||
# IMPERAS_ARCA
|
||||
|
||||
# And the variables set in Imperas/bin/Makefile.include
|
||||
# IMPERAS_LIB
|
||||
# IMPERAS_BIN
|
||||
# IMPERAS_VMISTUBS
|
||||
# IMPERAS_VMIINC
|
||||
# SHRSUF
|
||||
#
|
||||
#TODO test ist IMPERAS_HOME is set.
|
||||
|
||||
|
||||
message(STATUS "Imperas Home: $ENV{IMPERAS_HOME}")
|
||||
message(STATUS "Imperas License: $ENV{IMPERASD_LICENSE_FILE}")
|
||||
|
||||
|
||||
message(STATUS "Arch: $ENV{IMPERAS_ARCH}")
|
||||
#message(STATUS "VLNV: $ENV{IMPERAS_VLNV}")
|
||||
#set(IMPERAS_LIB $ENV{IMPERAS_HOME}/lib/$ENV{IMPERAS_ARCH})
|
||||
|
||||
set(IMPERAS_BIN $ENV{IMPERAS_HOME}/bin/$ENV{IMPERAS_ARCH})
|
||||
set(IMPERAS_VMISTUBS ${IMPERAS_BIN}/vmiStubs.a)
|
||||
set(IMPERAS_VMIINC
|
||||
-I$ENV{IMPERAS_HOME}/ImpPublic/include/host
|
||||
)
|
||||
|
||||
## This is needed when building a shared library
|
||||
set(HOST_LDFLAGS "-Wl,--version-script=$ENV{IMPERAS_HOME}/ImperasLib/source/buildutils/version.script")
|
||||
|
||||
## This is needed by a platform executable
|
||||
set(SIM_LDFLAGS $ENV{IMPERAS_HOME}/bin/$ENV{IMPERAS_ARCH}/libRuntimeLoader.so)
|
||||
|
||||
|
||||
include_directories(${CMAKE_SOURCE_DIR}/fail)
|
||||
include_directories(${CMAKE_BINARY_DIR}/fail)
|
||||
include_directories($ENV{IMPERAS_HOME}/ImpPublic/include/host)
|
||||
|
||||
#add_subdirectory(ovpworld.org/mmc/flakyMemory/1.0/model)
|
||||
add_subdirectory(cortexM3)
|
||||
|
||||
include(ExternalProject)
|
||||
#### Put resulting (model) library file in <your_build_dir>/lib ####
|
||||
ExternalProject_Add(
|
||||
OVParmmModel
|
||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/armmModel
|
||||
INSTALL_COMMAND ""
|
||||
CMAKE_ARGS -DFAIL_BASE=${CMAKE_SOURCE_DIR}/fail -DLIBRARY_OUTPUT_PATH=${LIBRARY_OUTPUT_PATH}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user