Created
April 21, 2017 21:31
-
-
Save gadomski/a4c5f04a37231fb20355d890768b4eaa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.1) | |
project(pdal-downstream) | |
find_package(PDAL REQUIRED) | |
add_executable(pdal-downstream main.cpp) | |
target_link_libraries(pdal-downstream PRIVATE ${PDAL_LIBRARIES}) | |
target_include_directories(pdal-downstream PRIVATE ${PDAL_INCLUDE_DIRS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <pdal/pdal_config.hpp> | |
int main(int argc, char** argv) { | |
std::cout << "PDAL version: " << pdal::GetVersionString() << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment