Created
December 30, 2013 16:24
-
-
Save TrainerGuy22/8184265 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.6) | |
project (SeePlusPlus) | |
set(SRC_FOLDER ${PROJECT_SOURCE_DIR}/src) | |
set(INCLUDE_FOLDER ${PROJECT_SOURCE_DIR}/include) | |
set(V8_FOLDER ${PROJECT_SOURCE_DIR}/libs/v8/out/native/obj.target/tools/gyp) | |
set(SRC_FILES ${SRC_FOLDER}/main.cpp ${SRC_FOLDER}/IrcConnection.cpp) | |
set(INCLUDE_FILES ${INCLUDE_FOLDER}/IrcConnection.h) | |
include_directories(${SRC_FOLDER} ${INCLUDE_FOLDER} ${V8_FOLDER}) | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11") | |
add_executable (SeePlusPlus ${SRC_FILES} ${INCLUDE_FILES}) | |
target_link_libraries(SeePlusPlus pthread) | |
target_link_libraries(SeePlusPlus v8_base.ia32) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment