cmake_minimum_required(VERSION 2.8) project(myxrm) set(SOURCE_HEADERS MicroCore.h tools.h monero_headers.h tx_details.h) set(SOURCE_FILES MicroCore.cpp tools.cpp CmdLineOptions.cpp tx_details.cpp page.h rpccalls.cpp rpccalls.h) # make static library called libmyxrm # that we are going to link to # in the root CMakeLists.txt file add_library(myxrm STATIC ${SOURCE_FILES})