You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
477 B
17 lines
477 B
cmake_minimum_required (VERSION 2.4)
|
|
project (freeze)
|
|
|
|
set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/bin)
|
|
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
|
|
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})
|
|
|
|
add_definitions(-DUNICODE -D_UNICODE)
|
|
|
|
include_directories("${PROJECT_SOURCE_DIR}")
|
|
|
|
add_executable (freeze src/main.cpp src/resource.rc)
|
|
|
|
|
|
# mkdir build && cd build # rm -r CMakeCache.txt CMakeFiles/
|
|
# cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-cross-mingw32-linux.cmake ../
|
|
# make
|
|
|