Created
February 23, 2014 22:15
-
-
Save osa1/9178136 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 2.8) | |
project(SqliteEdit) | |
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}) | |
find_package(Sqlite3 REQUIRED) | |
find_library(wxWidgets NAMES ) | |
find_package(wxWidgets COMPONENTS core base REQUIRED) | |
add_executable(SqliteEdit Main.cpp) | |
target_compile_definitions(SqliteEdit PRIVATE ${wxWidgets_DEFINITIONS}) | |
include_directories(${wxWidgets_INCLUDE_DIRS}) | |
include_directories(${SQLITE3_INCLUDE_DIR}) | |
target_link_libraries(SqliteEdit ${SQLITE3_LIBRARIES}) | |
target_link_libraries(SqliteEdit ${wxWidgets_LIBRARIES}) | |
install(TARGETS SqliteEdit DESTINATION bin) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment