diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-07-16 00:02:12 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-07-16 00:02:12 +0300 |
commit | 3061b8f1aef70de818585945e99073fe282e2db2 (patch) | |
tree | 2367cf6bd4521c680504c76877825c75c08612b7 /utils/libservice | |
parent | README updates (diff) | |
download | windows7-drivers-3061b8f1aef70de818585945e99073fe282e2db2.tar.gz windows7-drivers-3061b8f1aef70de818585945e99073fe282e2db2.zip |
utils: CMakeLists.txt updates
Diffstat (limited to 'utils/libservice')
-rw-r--r-- | utils/libservice/CMakeLists.txt | 12 | ||||
-rw-r--r-- | utils/libservice/test/CMakeLists.txt | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/utils/libservice/CMakeLists.txt b/utils/libservice/CMakeLists.txt index ad9e065..720a44b 100644 --- a/utils/libservice/CMakeLists.txt +++ b/utils/libservice/CMakeLists.txt @@ -1,9 +1,9 @@ -project(libservice) -file(GLOB ${PROJECT_NAME}_sources "src/*.cpp") -file(GLOB_RECURSE ${PROJECT_NAME}_headers "include/*.hpp") -add_library(${PROJECT_NAME} ${${PROJECT_NAME}_sources} - ${${PROJECT_NAME}_headers}) -target_include_directories(${PROJECT_NAME} PUBLIC include) +file(GLOB libservice_sources "src/*.cpp") +file(GLOB_RECURSE libservice_headers "include/*.hpp") +add_library(libservice + ${libservice_sources} + ${libservice_headers}) +target_include_directories(libservice PUBLIC include) add_subdirectory(test) add_subdirectory(utils) diff --git a/utils/libservice/test/CMakeLists.txt b/utils/libservice/test/CMakeLists.txt index f05eeab..4780deb 100644 --- a/utils/libservice/test/CMakeLists.txt +++ b/utils/libservice/test/CMakeLists.txt @@ -1,4 +1,4 @@ add_executable(libservice_test_windows_error windows_error.cpp) target_link_libraries(libservice_test_windows_error libservice) set_target_properties(libservice_test_windows_error PROPERTIES - OUTPUT_NAME windows_error) + OUTPUT_NAME windows_error) |