cmake_minimum_required (VERSION 3.8) set (CMAKE_CXX_STANDARD 11) set (CMAKE_C_COMPILER "clang") set (CMAKE_CXX_COMPILER "clang++") set (CMAKE_C_COMPILER_ID "Clang") set (CMAKE_CXX_COMPILER_ID "Clang") set (CMAKE_VERBOSE_MAKEFILE ON) project (uvm) set (uvm_VERSION_MAJOR 0) set (uvm_VERSION_MINOR 1) set (uvm_VERSION_PATCH 0) set (EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) file(GLOB uvm "include/*") file(GLOB uvm "src/*") add_executable(${PROJECT_NAME} ${uvm_SRC} ${uvm_INCLUDE}) target_link_libraries( ${PROJECT_NAME} )