mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-04 12:10:43 -06:00
make use of usage requirements
This commit is contained in:
@@ -22,8 +22,6 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
include_directories(../tests)
|
||||
|
||||
set(example_names
|
||||
#sample
|
||||
insert
|
||||
@@ -40,6 +38,7 @@ endif()
|
||||
|
||||
create_test_sourcelist(example_sources example_main.cpp ${example_names})
|
||||
add_executable(sqlpp11_examples ${example_sources})
|
||||
target_link_libraries(sqlpp11_examples PRIVATE sqlpp11 sqlpp11_testing)
|
||||
|
||||
foreach(example IN LISTS example_names)
|
||||
add_test(NAME sqlpp11.examples.${example}
|
||||
|
||||
Reference in New Issue
Block a user