Joshua Moerman
10 years ago
7 changed files with 5 additions and 9 deletions
@ -1,4 +0,0 @@ |
|||||
|
|
||||
# Hack to show headers in Qt Creator |
|
||||
file(GLOB headers "*.hpp") |
|
||||
add_library(dummy ${headers} dummy.cpp) |
|
@ -1,2 +0,0 @@ |
|||||
// Needed for the hack to show headers in Qt Creator
|
|
||||
static int x = x; |
|
@ -1,4 +1,6 @@ |
|||||
|
|
||||
file(GLOB sources "*.cpp") |
file(GLOB sources "*.cpp") |
||||
add_library(common STATIC ${sources}) |
file(GLOB headers "*.hpp") |
||||
|
add_library(common ${headers} ${sources}) |
||||
target_link_libraries(common ${libs}) |
target_link_libraries(common ${libs}) |
||||
|
target_include_directories(common INTERFACE ".") |
||||
|
Reference in new issue