aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2020-11-21 12:25:52 +0100
committerJan200101 <sentrycraft123@gmail.com>2020-11-21 12:25:52 +0100
commitf04dd5c8669abafff7f4a17eecf560254b7ed27e (patch)
treedbd5f1b26006dd84f7e9e70913eb085b60ea9720 /CMakeLists.txt
parente000a7befb7cc47f76733732a4b03a831c75125e (diff)
downloadpolecat-f04dd5c8669abafff7f4a17eecf560254b7ed27e.tar.gz
polecat-f04dd5c8669abafff7f4a17eecf560254b7ed27e.zip
Change name and version printout to be a status message
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b81d1ee..a78c6ca 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,12 +10,13 @@ project(polecat VERSION 0.1.5)
add_compile_definitions(NAME="${CMAKE_PROJECT_NAME}")
add_compile_definitions(VERSION="${CMAKE_PROJECT_VERSION}")
-message("-- Name: ${CMAKE_PROJECT_NAME}\n-- Version: ${CMAKE_PROJECT_VERSION}")
+message(STATUS "Name: ${CMAKE_PROJECT_NAME}")
+message(STATUS "Version: ${CMAKE_PROJECT_VERSION}")
set(FILES common config dxvk lutris main net tar wine)
foreach(FILE ${FILES})
- set(SOURCES ${SOURCES} ${CMAKE_CURRENT_LIST_DIR}/src/${FILE}.c)
+ set(SOURCES ${SOURCES} ${CMAKE_CURRENT_LIST_DIR}/src/${FILE}.c ${CMAKE_CURRENT_LIST_DIR}/src/${FILE}.h)
endforeach()
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")