Added CCI to build and support of conan.io
This commit is contained in:
		| @@ -1,7 +1,6 @@ | ||||
| cmake_minimum_required (VERSION 2.8.12) | ||||
| cmake_minimum_required(VERSION 3.3) | ||||
| set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/../cmake) # main (top) cmake dir | ||||
| set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) # project specific cmake dir | ||||
| set(CMAKE_CXX_STANDARD 11) # compromise, SystemC does not compile with C++14 | ||||
|  | ||||
| project (sc-components) | ||||
|  | ||||
| @@ -32,6 +31,7 @@ endif(ZLIB_FOUND) | ||||
|  | ||||
| if(SCV_FOUND)    | ||||
|     add_definitions(-DWITH_SCV) | ||||
|     include_directories(${SCV_INCLUDE_DIRS}) | ||||
|     link_directories(${SCV_LIBRARY_DIRS}) | ||||
|     add_subdirectory(transaction_recording) | ||||
| endif(SCV_FOUND) | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| cmake_minimum_required (VERSION 2.8.12) | ||||
| cmake_minimum_required(VERSION 3.3) | ||||
| # Add executable called "transaction_recording" that is built from the source files | ||||
| # "scv_tr_recording_example.cpp". The extensions are automatically found. | ||||
| add_executable (transaction_recording scv_tr_recording_example.cpp) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user