Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
lime
Commits
6208826f
Commit
6208826f
authored
Jan 28, 2019
by
jehan
Browse files
fix public header list
parent
de7e3446
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/CMakeLists.txt
src/CMakeLists.txt
+3
-3
No files found.
src/CMakeLists.txt
View file @
6208826f
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#
#
############################################################################
############################################################################
set
(
LIME_HEADER_FILES
set
(
LIME_
PRIVATE_
HEADER_FILES
lime_settings.hpp
lime_settings.hpp
lime_defines.hpp
lime_defines.hpp
lime_keys.hpp
lime_keys.hpp
...
@@ -51,7 +51,7 @@ endif()
...
@@ -51,7 +51,7 @@ endif()
bc_apply_compile_flags
(
LIME_SOURCE_FILES_CXX STRICT_OPTIONS_CPP STRICT_OPTIONS_CXX
)
bc_apply_compile_flags
(
LIME_SOURCE_FILES_CXX STRICT_OPTIONS_CPP STRICT_OPTIONS_CXX
)
if
(
ENABLE_STATIC
)
if
(
ENABLE_STATIC
)
add_library
(
lime-static STATIC
${
LIME_HEADER_FILES
}
${
LIME_SOURCE_FILES_CXX
}
)
add_library
(
lime-static STATIC
${
LIME_
PRIVATE_
HEADER_FILES
}
${
LIME_SOURCE_FILES_CXX
}
)
set_target_properties
(
lime-static PROPERTIES OUTPUT_NAME lime
)
set_target_properties
(
lime-static PROPERTIES OUTPUT_NAME lime
)
target_include_directories
(
lime-static PUBLIC
${
BCTOOLBOX_INCLUDE_DIRS
}
${
SOCI_INCLUDE_DIRS
}
${
SOCI_INCLUDE_DIRS
}
/soci
)
target_include_directories
(
lime-static PUBLIC
${
BCTOOLBOX_INCLUDE_DIRS
}
${
SOCI_INCLUDE_DIRS
}
${
SOCI_INCLUDE_DIRS
}
/soci
)
target_link_libraries
(
lime-static INTERFACE
${
BCTOOLBOX_CORE_LIBRARIES
}
${
SOCI_LIBRARIES
}
${
SOCI_sqlite3_PLUGIN
}
)
target_link_libraries
(
lime-static INTERFACE
${
BCTOOLBOX_CORE_LIBRARIES
}
${
SOCI_LIBRARIES
}
${
SOCI_sqlite3_PLUGIN
}
)
...
@@ -60,7 +60,7 @@ if(ENABLE_STATIC)
...
@@ -60,7 +60,7 @@ if(ENABLE_STATIC)
endif
()
endif
()
endif
()
endif
()
if
(
ENABLE_SHARED
)
if
(
ENABLE_SHARED
)
add_library
(
lime SHARED
${
LIME_HEADER_FILES
}
${
LIME_SOURCE_FILES_CXX
}
)
add_library
(
lime SHARED
${
LIME_PRIVATE_HEADER_FILES
}
${
LIME_HEADER_FILES
}
${
LIME_SOURCE_FILES_CXX
}
)
set_target_properties
(
lime PROPERTIES VERSION
${
LIME_SO_VERSION
}
)
set_target_properties
(
lime PROPERTIES VERSION
${
LIME_SO_VERSION
}
)
target_include_directories
(
lime PUBLIC
${
BCTOOLBOX_INCLUDE_DIRS
}
${
SOCI_INCLUDE_DIRS
}
${
SOCI_INCLUDE_DIRS
}
/soci
)
target_include_directories
(
lime PUBLIC
${
BCTOOLBOX_INCLUDE_DIRS
}
${
SOCI_INCLUDE_DIRS
}
${
SOCI_INCLUDE_DIRS
}
/soci
)
target_link_libraries
(
lime PRIVATE
${
BCTOOLBOX_CORE_LIBRARIES
}
${
SOCI_LIBRARIES
}
${
SOCI_sqlite3_PLUGIN
}
)
target_link_libraries
(
lime PRIVATE
${
BCTOOLBOX_CORE_LIBRARIES
}
${
SOCI_LIBRARIES
}
${
SOCI_sqlite3_PLUGIN
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment