build system switch to cmake
Remove old build system at the same time Change-Id: Ifdffe1fcd4cfece05f036d8de6e7cb74aca65f62
This commit is contained in:
15
tools/mcstat/CMakeLists.txt
Normal file
15
tools/mcstat/CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
include_directories(
|
||||
"${CMAKE_CURRENT_BINARY_DIR}"
|
||||
"${PROJECT_BINARY_DIR}"
|
||||
"${PROJECT_BINARY_DIR}/ihk/linux/include/ihk"
|
||||
"${IHK_FULL_SOURCE_DIR}/linux/include"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/../../executer/include"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
)
|
||||
|
||||
|
||||
add_executable(mcstat mcstat.c)
|
||||
target_link_libraries(mcstat ihklib)
|
||||
|
||||
install(TARGETS mcstat
|
||||
DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||
Reference in New Issue
Block a user