niotso/Tools/FARDive/CMakeLists.txt
Fatbag 55659f43b5 * Libraries are now being compiled only as static or as shared, not both, quickening the compile process.
* Implemented the rewrite of the iff library, submitted by Propeng. The linked list has been completely replaced with vectors or normal arrays.
* Started work on the cur and tga parsers
2012-04-29 00:44:41 -05:00

20 lines
No EOL
583 B
CMake

cmake_minimum_required(VERSION 2.6)
project(FARDive)
if(WIN32)
set(FARDIVE_SOURCES
windows/common.cpp
windows/Interaction.cpp
windows/MainWindow.cpp
windows/ReadPNGIcon.cpp
windows/Resource.rc
windows/Startup.cpp
windows/Dialog/AddToArchive.cpp
windows/Dialog/NewArchive.cpp
)
set(FARDIVE_LINK ole32 uxtheme)
add_executable(FARDive WIN32 ${FARDIVE_SOURCES})
endif()
include_directories(${CMAKE_SOURCE_DIR}/Libraries/FileHandler/libpng)
target_link_libraries(FARDive ${FARDIVE_LINK} FileHandler_shared)